{"_id":"@anisrh/device-fingerprint","_rev":"2-5e08414859c2b0b7cf8b1e98d90c9881","name":"@anisrh/device-fingerprint","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@anisrh/device-fingerprint","version":"1.0.0","keywords":["mac-address","device-fingerprint","hardware-id","developer-auth"],"author":"","license":"ISC","_id":"@anisrh/device-fingerprint@1.0.0","maintainers":[{"name":"anisrh","email":"anis.rh.97@gmail.com"}],"bin":{"device-fingerprint":"cli.js"},"dist":{"shasum":"fe1b830d88ab6df94fbcecdc616f0565370be489","tarball":"https://registry.npmjs.org/@anisrh/device-fingerprint/-/device-fingerprint-1.0.0.tgz","fileCount":4,"integrity":"sha512-ScyNJZrlJCN4MWtfHTvXtZVr5Z2K9MoNP26fXfHKMjXkTmaxThgjRJhHSqK0haAg4QetbI+xjuSzR6INRb30Gw==","signatures":[{"sig":"MEUCIEABpUkxsacItf2iAC8E8WIvwkKqqdRQcxMAvPy5wUUdAiEA0WAVnjtmU5+4/twGymmXoJDUNDpcHBZbKlLB0fkf4f0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4702},"main":"index.js","engines":{"node":">=12.0.0"},"scripts":{"test":"node cli.js"},"_npmUser":{"name":"anisrh","email":"anis.rh.97@gmail.com"},"_npmVersion":"11.6.2","description":"Get device MAC address for developer authentication","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/device-fingerprint_1.0.0_1765857959104_0.04496350769041957","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@anisrh/device-fingerprint","version":"1.0.1","description":"Get device MAC address for developer authentication","main":"index.js","bin":{"device-fingerprint":"cli.js"},"scripts":{"test":"node cli.js"},"keywords":["mac-address","device-fingerprint","hardware-id","developer-auth"],"author":"","license":"ISC","engines":{"node":">=12.0.0"},"_id":"@anisrh/device-fingerprint@1.0.1","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-7L9dLN+CVhtjGK1OJ9gQ58jbTpjhv2kwmOo/SYUbyqDe19iYjB5++4hyiewgWbFYT8YhE/AlKn3EVI7OT+o69w==","shasum":"3716f3e50e10feb3ae16f469424af8fb5f03c464","tarball":"https://registry.npmjs.org/@anisrh/device-fingerprint/-/device-fingerprint-1.0.1.tgz","fileCount":4,"unpackedSize":4704,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbXJqjouCkwCLoIl8B7Atxb147cN+gcuYaGAdWUuQChwIgTV7WvrQMt3Z4nIehbcNpAI1Cz5rVvUqR1ciKMptD4rk="}]},"_npmUser":{"name":"anisrh","email":"anis.rh.97@gmail.com"},"directories":{},"maintainers":[{"name":"anisrh","email":"anis.rh.97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/device-fingerprint_1.0.1_1765858163418_0.5523302227464881"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-16T04:05:58.955Z","modified":"2025-12-16T04:09:23.758Z","1.0.0":"2025-12-16T04:05:59.244Z","1.0.1":"2025-12-16T04:09:23.552Z"},"license":"ISC","keywords":["mac-address","device-fingerprint","hardware-id","developer-auth"],"description":"Get device MAC address for developer authentication","maintainers":[{"name":"anisrh","email":"anis.rh.97@gmail.com"}],"readme":"# Device Fingerprint\n\nGet your device MAC address for developer authentication.\n\n## Installation\n\n```bash\nnpm install\n```\n\n## Usage\n\n### CLI (Command Line)\n\nRun the tool to get your MAC address:\n\n```bash\nnode cli.js\n```\n\nOr if installed globally:\n\n```bash\ndevice-fingerprint\n```\n\nTo see all MAC addresses:\n\n```bash\nnode cli.js --all\n```\n\n### Programmatic Usage\n\n```javascript\nconst { getMacAddress, getAllMacAddresses } = require('device-fingerprint');\n\n// Get primary MAC address\nconst macAddress = getMacAddress();\nconsole.log(macAddress); // e.g., \"AA:BB:CC:DD:EE:FF\"\n\n// Get all MAC addresses\nconst allMacs = getAllMacAddresses();\nconsole.log(allMacs);\n// [\n//   { interface: 'eth0', mac: 'AA:BB:CC:DD:EE:FF' },\n//   { interface: 'wlan0', mac: '11:22:33:44:55:66' }\n// ]\n```\n\n## For New Developers\n\n1. Run `node cli.js` in this directory\n2. Copy the MAC address shown\n3. Send it to your team lead for registration\n\n## Platform Support\n\n- Windows\n- macOS\n- Linux\n","readmeFilename":"README.md"}