UNPKG

longest-prefix-match

Version:

A simple utility to do fast longest prefix match in JS.

88 lines (87 loc) 2.07 kB
{ "name": "longest-prefix-match", "version": "1.2.10", "description": "A simple utility to do fast longest prefix match in JS.", "main": "src/index.js", "scripts": { "release": "dotenv release-it", "test": "mocha --exit tests" }, "author": { "name": "Massimo Candela", "url": "https://massimocandela.com" }, "license": "BSD-3-Clause", "publishConfig": { "cache": "~/.npm", "registry": "https://registry.npmjs.com/" }, "dependencies": { "ip-sub": "^1.7.1" }, "devDependencies": { "chai": "^4.3.10", "chai-subset": "^1.6.0", "dotenv-cli": "^8.0.0", "mocha": "^10.2.0", "release-it": "^19.0.3" }, "repository": { "type": "git", "url": "git+https://github.com/massimocandela/longest-prefix-match.git" }, "keywords": [ "longest prefix match", "bgp", "ip", "prefix", "network" ], "bugs": { "url": "https://github.com/massimocandela/longest-prefix-match/issues" }, "homepage": "https://github.com/massimocandela/longest-prefix-match#readme", "release-it": { "hooks": { "before:init": [ "npm ci" ], "after:release": [ "echo Successfully released ${name} v${version} to ${repo.repository}." ] }, "git": { "changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}", "requireCleanWorkingDir": true, "requireBranch": "main", "requireUpstream": true, "requireCommits": false, "addUntrackedFiles": false, "commit": true, "commitMessage": "Release v${version}", "commitArgs": [], "tag": true, "tagName": null, "tagAnnotation": "Release v${version}", "tagArgs": [], "push": true, "pushArgs": [ "--follow-tags" ], "pushRepo": "" }, "gitlab": { "release": false }, "npm": { "publish": true }, "github": { "release": true, "releaseName": "v${version}", "tokenRef": "GITHUB_TOKEN", "origin": null, "skipChecks": false } } }