UNPKG

private-ip

Version:
68 lines (67 loc) 1.62 kB
{ "name": "private-ip", "version": "3.0.2", "description": "Check if IP address is private.", "exports": { ".": { "types": "./lib/index.d.ts", "import": "./index.js" } }, "type": "module", "types": "lib/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/frenchbread/private-ip.git" }, "bugs": "https://github.com/frenchbread/private-ip/issues", "homepage": "https://github.com/frenchbread/private-ip#readme", "authors": [ "Damir Mustafin <frenchthebread@gmail.com>", "Sick.Codes <https://twitter.com/sickcodes>", "John Jackson <https://twitter.com/johnjhacking>", "Nick Sahler <https://twitter.com/tensor_bodega>" ], "contributors": [ { "name": "Harold Hunt", "url": "https://www.linkedin.com/in/huntharo/" }, { "name": "Aravindha Hariharan M", "url": "https://www.linkedin.com/in/aravindha1234u/" } ], "license": "MIT", "scripts": { "build": "npm run clean && ./node_modules/typescript/bin/tsc --outDir lib", "clean": "./node_modules/.bin/rimraf ./lib", "test": "npm run build && ava", "prepublish": "npm run build" }, "keywords": [ "ip", "ipv4", "ipv6", "address", "private", "netmask", "localhost", "lan" ], "devDependencies": { "@types/netmask": "^1.0.30", "ava": "^5.3.1", "rimraf": "^3.0.2", "typescript": "^4.9.5" }, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "ip-regex": "^5.0.0", "ipaddr.js": "^2.1.0", "netmask": "^2.0.2" }, "engines": { "node": ">=14.16" } }