UNPKG

range_check

Version:

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

67 lines (66 loc) 1.58 kB
{ "name": "range_check", "version": "3.2.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", "build": "tsup", "prepublishOnly": "bun run build", "test": "bun test", "format": "bun run biome format . --write" }, "files": ["dist"], "keywords": [ "bun", "IP Address", "CIDR", "V4", "V6", "valid", "range", "addr", "ip", "ipv4", "ipv6" ], "license": "BSD-2-Clause", "homepage": "https://github.com/maxam2017/bun-lib-starter#readme", "repository": { "type": "git", "url": "https://github.com/keverw/range_check" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "bugs": "https://github.com/maxam2017/bun-lib-starter/issues", "author": "Kevin Whitman (https://github.com/keverw)", "dependencies": { "ip6": "^0.2.10", "ipaddr.js": "^2.2.0" }, "devDependencies": { "@biomejs/biome": "1.4.1", "@types/bun": "latest", "dts-bundle-generator": "^9.2.1", "semantic-release": "^22.0.12", "tsup": "^8.0.1", "typescript": "^5.3.3" }, "release": { "branches": ["main"] }, "bun-create": { "preinstall": "pre-commit install" } }