UNPKG

range_check

Version:

This is a simple module to validate IP address, check ip address version, check if ip is within a range.

69 lines (68 loc) 1.63 kB
{ "name": "range_check", "version": "4.1.0", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" } }, "description": "This is a simple module to validate IP address, check ip address version, check if ip is within a range.", "scripts": { "dev": "bun --watch src/index.ts", "start": "bun src/index.ts", "update-version": "bun scripts/update-version.ts", "build": "bun run update-version && tsup", "prepublishOnly": "bun run build", "test": "bun test", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,html}\"" }, "files": [ "dist" ], "keywords": [ "bun", "IP Address", "CIDR", "V4", "V6", "valid", "range", "addr", "ip", "ipv4", "ipv6" ], "license": "BSD-2-Clause", "homepage": "https://github.com/keverw/range_check#readme", "repository": { "type": "git", "url": "https://github.com/keverw/range_check" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "bugs": "https://github.com/keverw/range_check/issues", "author": "Kevin Whitman (https://github.com/keverw)", "dependencies": { "ip6": "^0.2.11", "ipaddr.js": "^2.2.0" }, "devDependencies": { "@types/bun": "latest", "dts-bundle-generator": "^9.2.1", "prettier": "^3.5.3", "semantic-release": "^22.0.12", "tsup": "^8.0.1", "typescript": "^5.3.3" }, "release": { "branches": [ "main" ] } }