{"_id":"@lzwme/get-physical-address","_rev":"5-98dce3ef945f7d48ec2ded1d2530c08b","name":"@lzwme/get-physical-address","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@lzwme/get-physical-address","version":"1.0.0","description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","main":"build/main/index.js","module":"build/module/index.js","typings":"build/types/index.d.ts","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card"],"bin":{"gmac":"bin/cli.js"},"scripts":{"postinstall":"husky install","start":"npm run watch","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:unit":"npm run cov","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","watch:build":"tsc -p tsconfig.json -w","watch:test":"jest --watch","cov":"jest --coverage --silent","cov:html":"jest --coverage --silent --reporters=html","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --out build/docs --tsconfig tsconfig.module.json","doc:json":"typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json --tsconfig tsconfig.module.json","version":"standard-version","clean":"node scripts/rmdir.mjs ./build","release":"run-s test build doc:html","release-version":"run-s release version"},"engines":{"node":">=12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"optionalDependencies":{"iconv-lite":"*"},"devDependencies":{"@jest/core":"^27","@lzwme/fed-lint-helper":"^1.5.1","@swc/core":"^1.2.174","@swc/jest":"^0.2.20","@types/eslint":"^8.4.1","@types/jest":"^27.5.0","@types/node":"^17","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","console-log-colors":"^0.2.3","eslint":"^8.14.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jest":"^26.1.5","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unicorn":"^42.0.0","husky":"^7.0.4","jest":"^27","npm-run-all":"^4.1.5","prettier":"^2.6.2","standard-version":"^9.3.2","ts-node":"^10.7.0","typedoc":"^0.22.15","typescript":"^4.6.4"},"packageManager":"pnpm@7.0.0","gitHead":"1b241f5e9cf5ff288e31e3754958d9ef25e25520","bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"homepage":"https://github.com/lzwme/get-physical-address#readme","dependencies":{"iconv-lite":"*"},"_id":"@lzwme/get-physical-address@1.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-XCmpi7j94CXYxjbBe43yKJEEaakNYbcU4Obl6LlYcsZgJana5ttysACDHUKjGJ3fgjensNEPTB0DJHed1ShH7A==","shasum":"6c1b221bf41d7b7768ba0e1cf40659cf5c5870ff","tarball":"https://registry.npmjs.org/@lzwme/get-physical-address/-/get-physical-address-1.0.0.tgz","fileCount":22,"unpackedSize":51142,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICFyc4lCEVcwcywqAAJFkGmbrBs7pWwmcxrKipJJQqmMAiBkl4nYZo6NBTO+pdZqdiGUsZf8H6y42Zjk0uWyp5uI7g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic+JzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYZQ//aDyKcMR5xDImue/KJWS14sJSWSBw7/0bzoUgArJXy9c0awym\r\nXh4F/iq6SAjwNWWM1e/2Kem2O/zFVds8ORok0FxgNZwNdIbe681iODCo1boY\r\nVzcEFupsuFoQcrRtPVyh4y+Z8wG/d1exk4S3RkBBicoKtg4U7gFN5JAj6mE4\r\n2zH9nA6OyQ17ZHhqVikVqnZvPoHXfeQ1ZOrorehJJwOAdAoonW8h5n9eKssR\r\n2HeRwEa62ww4RmzdxuUQiXJW+l4DLBmNu/WaZqogjJHrigQ+8zKmvmA9o9mx\r\nfDe6Fe6rm2pHX/1aZsV8/RpI+uIe9zgiLIjYf0S36a1mcOEQV2ID7lndPGDh\r\n3B3AME6owkQGIJYeOdLR2ZdC8G0fTfGWzDCqWifIuVV5A1MzUbLRbsAnihTH\r\n8FUUWSug/GtrqC59HBbDcx1E/cBjrfE9asxpX0ZDnthIyjWknBLmhaugAvxz\r\nCsbln2PiZWj5nCunQMXfU99IPTtSPiPKK+XtOAvsNhOXETf7qr4GA6bmwjqI\r\nf02370Kpv9N0jVEgELejaLz8vgH1+9u4k2jMhXLHRVJipq2jcG6Qjdizlg0W\r\nvI6o/vCw1SLXH9uuF0T79FtLUSmgLhVZCNuuVXaQB8cO58GwU9FGRSUOipms\r\nGcDZ+/9+ejpOlCp9IkTQY51DLzmKPL5KN78=\r\n=sp6D\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"renxia","email":"lzwy0820@qq.com"},"directories":{},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-physical-address_1.0.0_1651761779408_0.3782734649239301"},"_hasShrinkwrap":false},"1.0.1":{"name":"@lzwme/get-physical-address","version":"1.0.1","description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","main":"build/main/index.js","module":"build/module/index.js","typings":"build/types/index.d.ts","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card"],"bin":{"gmac":"bin/cli.js"},"scripts":{"prepare":"husky install","start":"npm run watch","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:unit":"npm run cov","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","watch:build":"tsc -p tsconfig.json -w","watch:test":"jest --watch","cov":"jest --coverage --silent","cov:html":"jest --coverage --silent --reporter=html","doc":"run-s doc:html && open-cli build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --out build/docs --tsconfig tsconfig.module.json","doc:json":"typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json --tsconfig tsconfig.module.json","version":"standard-version","clean":"node scripts/rmdir.mjs ./build","release":"run-s test build doc:html","release-version":"run-s release version"},"engines":{"node":">=12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"optionalDependencies":{"iconv-lite":"*"},"devDependencies":{"@jest/core":"^27","@lzwme/fed-lint-helper":"^1.5.1","@swc/core":"^1.2.174","@swc/jest":"^0.2.20","@types/eslint":"^8.4.1","@types/jest":"^27.5.0","@types/node":"^17","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","console-log-colors":"^0.2.3","eslint":"^8.14.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jest":"^26.1.5","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unicorn":"^42.0.0","husky":"^7.0.4","jest":"^27","npm-run-all":"^4.1.5","prettier":"^2.6.2","standard-version":"^9.3.2","ts-node":"^10.7.0","typedoc":"^0.22.15","typescript":"^4.6.4"},"packageManager":"pnpm@7.0.0","gitHead":"5223967b93216d95f18099b06fbb00259e873efb","bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"homepage":"https://github.com/lzwme/get-physical-address#readme","dependencies":{"iconv-lite":"*"},"_id":"@lzwme/get-physical-address@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-lvli7bhIuPClg6ae+Hx5/DGTIEnNNsyHXyVfHm8Qv/uIivvJ7DrJD6T5D1PTWtiSupv2qgxb4suZ472YEM5FvQ==","shasum":"c7cf296b8290ce09829746dc37e2b63230dde227","tarball":"https://registry.npmjs.org/@lzwme/get-physical-address/-/get-physical-address-1.0.1.tgz","fileCount":23,"unpackedSize":51640,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxycaS9uiGBgSPOYcyywvec5reZMJ+/LWQqleBJuE/TAiEAt4F1Q/fLpNNPjJmUym4pS+rkGGkzunmrV0jvNNFxBX4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieJDCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5sQ/7B0VYaf+77PUJxH9KevjR/Qabekp9HqXVzonTMmy5eZPwu1rp\r\nTZMzrYorU4Ugh5rsuaXU/W0S+ekA4cyllJW+f/RWzO/57xF/uBX/ow5oXMBq\r\ncaytiU97oY4gGatXl0oWDbDkJ3+FXXeuhy8mhEzb74p4yC+VGyDmY2aBric9\r\nMdftB2+CeGe1rGVsUv/DrHPTOm8CjwJ2bcrsZpCIkmw6CpXWXujp9FQhK1s5\r\n4Bh103TOSKnYiNoA8utRt5K9/EnZxrcLsCLc7ZQVME/Cx1xjs4AwU0cZFo7i\r\nOUKmfhdoA4vw8oV62vIEUjvVxD1HLjnJozhySVdYyrp6bMulYe9KonQ37LqF\r\n3s2d1UUX4LPlF4VOHXgz36BkXT6es/56O3caBes0w7bJGwH66L2YvrTGxblv\r\nWxKzKNrygDp5TfH796oRGVlLJ2iG/uukI0slB0cGLXAerZ3UNiW1VQmZvyBa\r\nez6QMEBi8vjqGwyQ022NUU9AV8y0uqAlYZB4FlAsYrXuzP2/PDoV4Z49If8q\r\nRWMYfrqRTYZ66CSpWMZOqr8IRgNQekn9k5rBOvHIRUuiWVfUpLv2eOA5DTs6\r\nPGDE12Px1xKY1S5b0TwfuIHHFqvRC3JADjHA95gJQgEPFQJcc7Wm0TeUKkoF\r\nWYnGo0004FKWfeFia8Cw0VOLdt3WiVq+ZjU=\r\n=Hdmr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"renxia","email":"lzwy0820@qq.com"},"directories":{},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-physical-address_1.0.1_1652068545849_0.6919587320065375"},"_hasShrinkwrap":false},"1.0.2":{"name":"@lzwme/get-physical-address","version":"1.0.2","description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","main":"cjs/index.js","module":"esm/index.js","typings":"types/index.d.ts","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card"],"bin":{"gmac":"bin/cli.js"},"scripts":{"prepare":"husky install","start":"npm run watch","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.cjs.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:unit":"npm run cov","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","watch:build":"tsc -p tsconfig.json -w","watch:test":"jest --watch","cov":"jest --coverage --silent","cov:html":"jest --coverage --silent --reporter=html","doc":"run-s doc:html && open-cli docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --out docs --tsconfig tsconfig.module.json","doc:json":"typedoc src/ --exclude **/*.spec.ts --json docs/typedoc.json --tsconfig tsconfig.module.json","version":"standard-version","clean":"flh rm -f esm cjs types docs","release":"run-s test build doc:html","release-version":"run-s release version"},"engines":{"node":">=12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.com"},"peerDependencies":{"iconv-lite":"*"},"peerDependenciesMeta":{"iconv-lite":{"optional":true}},"devDependencies":{"@jest/core":"^29","@lzwme/fed-lint-helper":"^2.0.1","@swc/core":"^1.3.7","@swc/jest":"^0.2.23","@types/eslint":"^8.4.6","@types/jest":"^29.1.2","@types/node":"^18","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","console-log-colors":"^0.2.3","eslint":"^8.25.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jest":"^27.1.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-unicorn":"^44.0.2","husky":"^8.0.1","iconv-lite":"^0.6.3","jest":"^29","npm-run-all":"^4.1.5","prettier":"^2.7.1","standard-version":"^9.5.0","ts-node":"^10.9.1","typedoc":"^0.23.16","typescript":"^4.8.4"},"packageManager":"pnpm@7.0.0","gitHead":"b65ae065b4eac33647ff6fc25db34ab79913664c","bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"homepage":"https://github.com/lzwme/get-physical-address#readme","_id":"@lzwme/get-physical-address@1.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-a88u6Mbi0oFr18RoZBFtrVaDCuE6jV7qFFPQSLH//s449QtxuFC4lM8JcQx51I8JmHHQjRSWe0sW+shSd01UIw==","shasum":"8ad9acccf5b3d0d2354bbbe0324c03252f0db030","tarball":"https://registry.npmjs.org/@lzwme/get-physical-address/-/get-physical-address-1.0.2.tgz","fileCount":19,"unpackedSize":38066,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTDH2CFSSe+emn0cSnY77JHci71W7A8vX05whBRj4WNAIgdDWV0yjsQ8MRFOBcYyi7tHLj5+1CqKk88fYrUZ/jbXY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSMrXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrX8w/8Cpv+EzSaO6l4Lgujck0H2sDxU/rL4Df2zHnltPXdFgVFXdtB\r\n9IQ8MVTKgUf4GRj2FlrMGKN/9+PMVJyRJEvzW64NI/wgpuehbmkzdyWJUmsX\r\nzTGhuVLOluvxTPWZbMuuOilopSPbD+WADphnu/oelNczQ98vR84IAYRL8h5n\r\nlr4xzyj8mP2dO9guyETOkEwseXjBnnKCV5jqLr3jAbMQQKqcKVYaTLZ7fOFm\r\n/nSgsdFCxJ2Hp8OugZGhdjf5Kk2bTYMgV6lvD5a/3CPPOD+MKxGaSwn2b+bT\r\nBNyllmWttAO51/JPKX/yB5hIxJKbvt9vlenplU0Mwg9nVlHvF5rGkuiZ457e\r\n5ZMfj+H+krOiUqIUq5m6ugFaVaYIrsK3fqhAN3vKKYLspJACybkpd5ZvHjGX\r\nRJ6nwlba0uBBVuw+NCDOPH7shdzFJDGs9ZRZiSQxlioSnrnFbllT6ewaCI19\r\n9FZdiu//AeAKZ40bAiEix8wVzvUnTNV4uJvF2nwej7AaPrJJa4durrNcFU61\r\nKNhIo2n+P0/uF1qFVamBYEe/v6y/l+VbySNNocNlcILBR/rkDXAyS+SDJpgz\r\nXTaXJ+KjyDBfYaF8qAXbvv+LF65IjhUqeLPVgO1I8xkmTe4yIp7tHk8fRA0r\r\nB50j16Kpj0zUm7Beg0yc38lXEaK06jNNZ04=\r\n=Al0O\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"renxia","email":"lzwy0820@qq.com"},"directories":{},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-physical-address_1.0.2_1665714903299_0.20003123666427713"},"_hasShrinkwrap":false},"1.0.3":{"name":"@lzwme/get-physical-address","version":"1.0.3","description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","main":"cjs/index.js","module":"esm/index.js","typings":"types/index.d.ts","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card"],"bin":{"gmac":"bin/cli.js"},"scripts":{"prepare":"husky install","start":"npm run watch","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.cjs.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:unit":"npm run cov","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","watch:build":"tsc -p tsconfig.json -w","watch:test":"jest --watch","cov":"jest --coverage --silent","cov:html":"jest --coverage --silent --reporter=html","doc":"run-s doc:html && open-cli docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --out docs --tsconfig tsconfig.module.json","doc:json":"typedoc src/ --exclude **/*.spec.ts --json docs/typedoc.json --tsconfig tsconfig.module.json","version":"standard-version","clean":"flh rm -f esm cjs types docs","release":"run-s test build doc:html","release-version":"run-s release version"},"engines":{"node":">=12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.com"},"peerDependencies":{"iconv-lite":"*"},"peerDependenciesMeta":{"iconv-lite":{"optional":true}},"devDependencies":{"@jest/core":"^29","@lzwme/fed-lint-helper":"^2.0.1","@swc/core":"^1.3.10","@swc/jest":"^0.2.23","@types/eslint":"^8.4.7","@types/jest":"^29.2.0","@types/node":"^18","@typescript-eslint/eslint-plugin":"^5.40.1","@typescript-eslint/parser":"^5.40.1","console-log-colors":"^0.2.3","eslint":"^8.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jest":"^27.1.3","eslint-plugin-prettier":"^4.2.1","eslint-plugin-unicorn":"^44.0.2","husky":"^8.0.1","iconv-lite":"^0.6.3","jest":"^29","npm-run-all":"^4.1.5","prettier":"^2.7.1","standard-version":"^9.5.0","ts-node":"^10.9.1","typedoc":"^0.23.18","typescript":"^4.8.4"},"packageManager":"pnpm@7.0.0","gitHead":"02fa28433536065754dbfa7b6954aa5d61de00fb","bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"homepage":"https://github.com/lzwme/get-physical-address#readme","_id":"@lzwme/get-physical-address@1.0.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-pTNtMKoIanpbSckLbQzU2bir4qZL20cK86QO/yRAt1m6Zjy1sAXsiMsSiBwfjffdcJgM7oz5iEDukdRlioYjLA==","shasum":"cbf081e81f842913512bb78f60372e5fcd393be5","tarball":"https://registry.npmjs.org/@lzwme/get-physical-address/-/get-physical-address-1.0.3.tgz","fileCount":22,"unpackedSize":39011,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdB16P+TI3kSlQaKPb6MtLCxNwPZVbaBehyQSWYJfFSQIhALS5BU3yDCjSEyxYWq9X4ITFT6eKOw7pyJ1eWfnnNgul"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVz6aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqiMBAAjnX/mf+LEs76iTuLD/3HhibJX6o/AYDK08S1Jkx+NVV/g9on\r\nEZvmXCHb3Pda59ngyRZUSAXTjkIoK+7pPWXvop/MHk1gJ2IN7b38y9ZMvr/j\r\nB8mdRWpSczcTN29F7hNdyzp3++NK33cfDNaNxTKGTH8kP3wS/grn4JR5NRSq\r\nrsaIBqKaoNkcDFlJz88pVbOLW+aOWBVr5qtV8+m+nb7AM0b6stGa/msrhnY6\r\nid0nrZAKBvtP+IoTs/njtFim3IJIvhwes1s2e0v9xxYRIUEeuJ8bX8rkamB4\r\ncmzOuQ0q1BT1+AXE0UcVIyWqk5GuIpwYcJlhnd06G7m5afI8tkA4HAYAlnNT\r\nfeDoktS7PCHgPidL0T6CpI86KTkOWRRP6xLYEjZ4ZEbn+NIfZJnoj0cZf82k\r\nKNlA0sxLlvNDdcPin8LO8mvo6OnxmhZfPUAwGKESDhtbal1Pzt4ZtNQTCewt\r\ni3OyNtAQMXY4CIft0ZzV/PVs7zXgNr8U5e7X5zYO23PFyggHBhiZoWT3Hd+9\r\npmY2uFXNsrkE45GTM+9l/ZCJ3DqSxyIOzfCY8Nzuf/JUCtVl2KcSy/zp8LZB\r\niIowGHMGZjMLUjVmzy7/anNgnviwiV6ibT5ggM5934tdAgHVeKrFYAlKO3lz\r\nnqxzTDn0hfZOosqfQ2o29QG/Say4bBvRMNI=\r\n=so2e\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"renxia","email":"lzwy0820@qq.com"},"directories":{},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-physical-address_1.0.3_1666662042232_0.60226012731846"},"_hasShrinkwrap":false},"1.0.5":{"name":"@lzwme/get-physical-address","version":"1.0.5","description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","main":"cjs/index.js","module":"esm/index.js","typings":"types/index.d.ts","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card"],"bin":{"gmac":"bin/cli.js"},"scripts":{"prepare":"husky install","start":"npm run watch","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.cjs.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:unit":"npm run cov","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","watch:build":"tsc -p tsconfig.json -w","watch:test":"jest --watch","cov":"jest --coverage --silent","cov:html":"jest --coverage --silent --reporter=html","doc":"run-s doc:html && open-cli docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --out docs --tsconfig tsconfig.module.json","doc:json":"typedoc src/ --exclude **/*.spec.ts --json docs/typedoc.json --tsconfig tsconfig.module.json","version":"standard-version","clean":"flh rm -f esm cjs types docs","release":"run-s test build doc:html","release-version":"run-s release version"},"engines":{"node":">=12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.com"},"peerDependencies":{"iconv-lite":"*"},"peerDependenciesMeta":{"iconv-lite":{"optional":true}},"devDependencies":{"@jest/core":"^29","@lzwme/fed-lint-helper":"^2.3.2","@swc/core":"^1.3.67","@swc/jest":"^0.2.26","@types/eslint":"^8.40.2","@types/jest":"^29.5.2","@types/node":"^20","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","console-log-colors":"^0.4.0","eslint":"^8.44.0","eslint-config-prettier":"^8.8.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-prettier":"^4.2.1","eslint-plugin-unicorn":"^47.0.0","husky":"^8.0.3","iconv-lite":"^0.6.3","jest":"^29","npm-run-all":"^4.1.5","prettier":"^2.8.8","standard-version":"^9.5.0","ts-node":"^10.9.1","typedoc":"^0.24.8","typescript":"^5.1.6"},"packageManager":"pnpm@7.0.0","gitHead":"97be2f04405be7ae943c8f279bd8b2b41f8924bb","bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"homepage":"https://github.com/lzwme/get-physical-address#readme","_id":"@lzwme/get-physical-address@1.0.5","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-P7oQIWW8I1y4NCMFubcsagyrjShRTmRueU1e+J0EcBzj6jmqA+JSwypsJdXcHyD41ytDvW0BeZAUtB0EsIEytw==","shasum":"c60bacd0d7354f0cff5cbd8e361203dad6c0df91","tarball":"https://registry.npmjs.org/@lzwme/get-physical-address/-/get-physical-address-1.0.5.tgz","fileCount":22,"unpackedSize":39816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC1y+C0k53dLHO+hbiTP2p+n2PjczJF+eDqe9lJ/BxDgIgPzp8jLZcxubh9KPGH0nih3nKbrub3f8xx/U+/hUS8sw="}]},"_npmUser":{"name":"renxia","email":"lzwy0820@qq.com"},"directories":{},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-physical-address_1.0.5_1689142184679_0.7992807230751326"},"_hasShrinkwrap":false},"1.1.0":{"name":"@lzwme/get-physical-address","version":"1.1.0","description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","main":"cjs/index.js","module":"esm/index.js","typings":"types/index.d.ts","private":false,"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card","arp","arp table","arp lookup"],"bin":{"gmac":"bin/cli.js"},"scripts":{"prepare":"husky install","start":"npm run watch","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.cjs.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","lint":"flh --eslint --tscheck --prettier","test":"run-s test:*","test:lint":"eslint src --ext .ts","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:unit":"npm run cov","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","watch:build":"tsc -p tsconfig.json -w","watch:test":"jest --watch","cov":"jest --coverage --silent","cov:html":"jest --coverage --silent --reporter=html","doc":"run-s doc:html && open-cli docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --out docs --tsconfig tsconfig.module.json","doc:json":"typedoc src/ --exclude **/*.spec.ts --json docs/typedoc.json --tsconfig tsconfig.module.json","version":"standard-version","clean":"flh rm -f esm cjs types docs","release":"run-s test build doc:html","release-version":"run-s release version"},"engines":{"node":">=12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.com"},"peerDependencies":{"iconv-lite":"*"},"peerDependenciesMeta":{"iconv-lite":{"optional":true}},"devDependencies":{"@jest/core":"^29","@lzwme/fed-lint-helper":"^2.5.1","@swc/core":"^1.3.101","@swc/jest":"^0.2.29","@types/eslint":"^8.56.0","@types/jest":"^29.5.11","@types/node":"^20","@typescript-eslint/eslint-plugin":"^6.15.0","@typescript-eslint/parser":"^6.15.0","console-log-colors":"^0.4.0","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-jest":"^27.6.0","eslint-plugin-prettier":"^5.1.2","eslint-plugin-unicorn":"^50.0.1","husky":"^8.0.3","iconv-lite":"^0.6.3","jest":"^29","npm-run-all":"^4.1.5","prettier":"^3.1.1","standard-version":"^9.5.0","ts-node":"^10.9.2","typedoc":"^0.25.4","typescript":"^5.3.3"},"packageManager":"pnpm@8.0.0","_id":"@lzwme/get-physical-address@1.1.0","gitHead":"f47ea2c367d96e3762e4bb2daca844ac448f0899","bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"homepage":"https://github.com/lzwme/get-physical-address#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-c8HsYG9p3fqdto44278Q7RJMc657F8a0BO/dGxoG4lI/cXlX4IpkmccAuWwFFeesmOJA/utoWjmofQaHmauM9g==","shasum":"7b938dc4a8102a044c4e38e4b74c742e57051b39","tarball":"https://registry.npmjs.org/@lzwme/get-physical-address/-/get-physical-address-1.1.0.tgz","fileCount":25,"unpackedSize":48024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwl08ElD+YMbhEYHhV02sRbcj3NWVqDoSknMgzvKzZ6AiEAspVAQ0XkAm3K32a9s2zOM6A0Ea9+Fh/NWZKFBMrc08Q="}]},"_npmUser":{"name":"renxia","email":"lzwy0820@qq.com"},"directories":{},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-physical-address_1.1.0_1703492267314_0.33153834859819664"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-05T14:42:59.264Z","1.0.0":"2022-05-05T14:42:59.572Z","modified":"2023-12-25T08:17:47.764Z","1.0.1":"2022-05-09T03:55:46.014Z","1.0.2":"2022-10-14T02:35:03.542Z","1.0.3":"2022-10-25T01:40:42.432Z","1.0.5":"2023-07-12T06:09:44.854Z","1.1.0":"2023-12-25T08:17:47.524Z"},"maintainers":[{"name":"renxia001","email":"webmaster@lzw.me"},{"name":"renxia","email":"lzwy0820@qq.com"}],"description":"Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.","homepage":"https://github.com/lzwme/get-physical-address#readme","keywords":["mac","mac-address","physical-address","visual-mac","physical","hardware","network interfaces","network card","arp","arp table","arp lookup"],"repository":{"type":"git","url":"git+https://github.com/lzwme/get-physical-address.git"},"author":{"name":"renxia","email":"lzwy0820@qq.com","url":"https://lzw.me"},"bugs":{"url":"https://github.com/lzwme/get-physical-address/issues"},"license":"MIT","readme":"[![@lzwme/get-physical-address](https://nodei.co/npm/@lzwme/get-physical-address.png)][npm-url]\n\n# @lzwme/get-physical-address\n\n[![build status](https://github.com/lzwme/get-physical-address/actions/workflows/node-ci.yml/badge.svg?branch=main)](https://github.com/lzwme/get-physical-address/actions/workflows/node-ci.yml)\n[![NPM version][npm-badge]][npm-url]\n[![node version][node-badge]][node-url]\n[![license MIT](https://img.shields.io/github/license/lzwme/get-physical-address)](https://github.com/lzwme/get-physical-address)\n\n[![npm download][download-badge]][download-url]\n[![GitHub issues][issues-badge]][issues-url]\n[![GitHub forks][forks-badge]][forks-url]\n[![GitHub stars][stars-badge]][stars-url]\n\n[简体中文](./.github/README_zh-CN.md)\n\nTry get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.\n\n## Background\n\nIn Node.js or electron applications, it may be necessary to use MAC address and IP address as important marks to identify the uniqueness of the device, and use them as the basis for establishing the blacklist / whitelist mechanism of user equipment.\n\nVia the API of `os.networkInterfaces()` you can easily get the information of the device network card.\n\nHowever, when the virtual machine and VPN are enabled on the user's machine, the number of network cards returned by the API may be very large. At this time, it is necessary to identify the real physical network card to ensure that the information of the only physical network card can be accurately returned no matter whether the virtual network card is used or not, so as to avoid misjudgment caused by identification error.\n\n## Install\n\n```bash\nnpm i @lzwme/get-physical-address\n# use yarn\nyarn add @lzwme/get-physical-address\n```\n\n## Usage\n\nExample：\n\n```ts\nimport { getNetworkIFaceOne, getMac, isVirtualMac } from '@lzwme/get-physical-address';\n\ngetNetworkIFaceOne().then(item => {\n  console.log(`isVirtualMac: ${isVirtualMac(item.mac, item.desc)}. the MAC address is ${item.mac}, the IP address is ${item.address}`);\n});\n\ngetMac().then(mac => console.log(`the MAC address is ${mac}`));\ngetMac('en0').then(mac => console.log(`the MAC address for en0 is ${mac}`));\n```\n\nExample for some other API：\n\n```ts\nimport { isMac, hasMac, isValidMac, isVirtualMac, formatMac, getAllPhysicsMac } from '@lzwme/get-physical-address';\n\nisMac('aa-bb-cc-dd-ee-ff'); // true\nhasMac('The MAC address is aa-bb-cc-dd-ee-ff'); // true\nisMac('00:00:00:00:00:00'); // true\nisValidMac('00:00:00:00:00:00'); // false\nformatMac('AA-BB-CC-DD-EE-FF'); // aa:bb:cc:dd:ee:ff\nisVirtualMac('00:0c:29:ae:ce'); // true\n\ngetAllMac().then(list => console.log(list));\ngetAllPhysicsMac('IPv4').then(list => console.log(list));\n```\n\n## API\n\n### `getMac`\n\n- `getMac(iface?: string): Promise<string>`\n- `getAllPhysicsMac(family?: 'IPv4' | 'IPv6'): Promise<string[]>`\n- `getAllMac(): string[]` Filtered by `internal=true` and `isZeroMac(macAdress)`\n\n### `getNetworkInterface`\n\n- `getNetworkIFaces(iface?: string, family?: 'IPv4' | 'IPv6'): Promise<os.NetworkInterfaceInfo[]>`\n- `getNetworkIFaceOne(iface?: string): Promise<os.NetworkInterfaceInfoIPv4 | os.NetworkInterfaceInfoIPv6>`\n\n### `arpTable`\n\n- `getArpTable(arpSstdout?: string)`\n- `getArpMacByIp(ip: string)`\n- `getArpIpByMac(mac: string)`\n\n### `utils`\n\n- `isMac(mac: string): boolean`\n- `hasMac(str: string): boolean`\n- `isZeroMac(mac: string): boolean`\n- `isValidMac(mac: string): boolean`\n- `formatMac(mac: string): string`\n\n## Development\n\n```bash\ngit clone https://github.com/lzwme/get-physical-address\nyarn install\nnpm link\nyarn dev\n```\n\n## License\n\n`@lzwme/get-physical-address` is released under the MIT license.\n\n该插件由[志文工作室](https://lzw.me)开发和维护。\n\n[stars-badge]: https://img.shields.io/github/stars/lzwme/get-physical-address.svg\n[stars-url]: https://github.com/lzwme/get-physical-address/stargazers\n[forks-badge]: https://img.shields.io/github/forks/lzwme/get-physical-address.svg\n[forks-url]: https://github.com/lzwme/get-physical-address/network\n[issues-badge]: https://img.shields.io/github/issues/lzwme/get-physical-address.svg\n[issues-url]: https://github.com/lzwme/get-physical-address/issues\n[npm-badge]: https://img.shields.io/npm/v/@lzwme/get-physical-address.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@lzwme/get-physical-address\n[node-badge]: https://img.shields.io/badge/node.js-%3E=_12.0.0-green.svg?style=flat-square\n[node-url]: https://nodejs.org/download/\n[download-badge]: https://img.shields.io/npm/dm/@lzwme/get-physical-address.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@lzwme/get-physical-address\n[bundlephobia-url]: https://bundlephobia.com/result?p=@lzwme/get-physical-address@latest\n[bundlephobia-badge]: https://badgen.net/bundlephobia/minzip/@lzwme/get-physical-address@latest\n","readmeFilename":"README.md"}