- Updated dependencies, base files, and editions using boundation
- Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
- Updated dependencies, base files, and editions using boundation
- Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Minimum required Node.js version changed from
node: >=10
tonode: >=8
adapting to ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Updated license from
MIT
toArtistic-2.0
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Fix
Object is possibly 'undefined'
compile error- Closes issue #100 thanks to DiamondYuan and marcoburrometo
- Removes leftover
coffeescript
andcoffeelint
dev dependencies- Closes pull request #98 thanks to Jan Pilzer
- Updated dependencies, base files, and editions using boundation
- Minimum required node version changed from
node: >=8
tonode: >=10
to keep up with mandatory ecosystem changes
- Fix using getmac under enabled tsconfig config rule
noUnusedLocals
due to unused import NetworkInterfaceInfo- Merges #96 thanks to Benoit Sepe
- Updated dependencies, base files, and editions using boundation
- If you are using CommonJS, you must now do
require('getmac').default
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- MAC addresses with single character parts are now considered valid
- Uses the built in
require('os').networkInterfaces()
instead getmac-node
now supports receiving the iface name to filter, e.g.getmac-node en6
- Better handling of errors with the
getmac-node
binary
getMac
renamed togetMAC
and has the function signature(iface?: string) => Promise<string>
extractMAC
is now exported, if you already have the MAC interfaces string, with the signature(input: string, iface?: string) => string
isMac
renamed toisMAC
- Converted to TypeScript
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Minimum required node version changed from
node: >=0.10
tonode: >=8
to keep up with mandatory ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Updated base files and editions using boundation
- Updated dependencies
- Minimum supported node version is now 0.10
- Updated base files and editions using boundation
- Fix running getmac on windows when system32 is not in their path
- Thanks to Gustavo Costa Neves for pull request #35
- Fix running as restricted user on linux
- Thanks to zboszor for pull request #35
- Fix
getmac-node
not working- Thanks to harrytse for issue #28 and DarryllRobinson for issue #27
- Updated base files
- Now compiled with CoffeeScript v2
- Now uses editions to use the ESNext compiled edition for environments that support it, otherwise use the ES2015 compiled edition
- Updated base files
- Fetch the mac address of a specific interface using the
iface
option- Thanks to caasi Huang for pull request #22
- Use down interfaces as well as up interfaces - Thanks to Ted Shroyer for pull request #15
- Updated dependencies
- Repackaged
- Added fix for iproute2 commands in absence of ifconfig on Linux machines
- Repackaged
- Will now ignore zero-filled mac addresses and error if none are found - Thanks to Uwe Klawitter for issue #1
- Can now pass an optional object as the first argument to
getmac
that can containdata
as a String to scan instead of executing the appropriate command to fetch the data - Dependency updates
- Better compatibility with linux distros
- Minor optimisation
- Fixed windows support, turns out they format mac addresses differently
- Renamed
getmac
executable togetmac-node
to avoid conflict on windows
- Initial working commit