UNPKG

ip-address

Version:

A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

89 lines (88 loc) 2.12 kB
{ "name": "ip-address", "description": "A library for parsing IPv4 and IPv6 IP addresses in node and the browser.", "keywords": [ "ip", "ipv4", "ipv6", "address", "cidr", "subnet", "netmask", "validate", "validation", "parse", "arpa", "bigint", "browser" ], "version": "10.2.0", "author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)", "license": "MIT", "main": "dist/ip-address.js", "types": "dist/ip-address.d.ts", "scripts": { "docs": "tsx scripts/build-readme.ts", "build": "rm -rf dist; mkdir dist; tsc", "prepack": "npm run docs && npm run build", "test-ci": "c8 --experimental-monocart mocha", "test": "mocha", "watch": "mocha --watch" }, "c8": { "include": [ "src/**/*.ts" ], "exclude": [ "**/*.d.ts", "src/ip-address.ts", "src/v4/constants.ts", "src/v6/constants.ts" ], "reporter": [ "html", "lcov", "text" ] }, "engines": { "node": ">= 12" }, "sideEffects": false, "files": [ "dist" ], "repository": { "type": "git", "url": "git://github.com/beaugunderson/ip-address.git" }, "overrides": { "diff": "^8.0.3", "serialize-javascript": "^7.0.5", "@eslint/plugin-kit": "^0.7.1" }, "devDependencies": { "@types/chai": "^5.2.3", "@types/mocha": "^10.0.10", "@typescript-eslint/eslint-plugin": "^8.59.1", "@typescript-eslint/parser": "^8.59.1", "c8": "^11.0.0", "chai": "^6.2.2", "eslint": "^8.57.1", "eslint_d": "^14.0.4", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^10.1.8", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-sort-imports-es6-autofix": "^0.6.0", "mocha": "^11.7.5", "monocart-coverage-reports": "^2.12.11", "prettier": "^3.8.3", "source-map-support": "^0.5.21", "tsx": "^4.21.0", "typedoc": "^0.28.19", "typescript": "<5.6.0" } }