as-networks
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "as-networks", | ||
"version": "1.0.0", | ||
"description": "Get all networks contained in an autonomous system", | ||
"version": "1.0.1", | ||
"description": "Get all CIDR networks contained in an autonomous system", | ||
"author": "silverwind <me@silverwind.io>", | ||
@@ -26,2 +26,5 @@ "repository": "silverwind/as-networks", | ||
], | ||
"dependencies": { | ||
"is-cidr": "^2.0.7" | ||
}, | ||
"devDependencies": { | ||
@@ -32,6 +35,3 @@ "eslint": "^5.6.1", | ||
"ver": "^3.0.0" | ||
}, | ||
"dependencies": { | ||
"is-cidr": "^2.0.7" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # as-networks | ||
> Get all networks contained in an autonomous system | ||
> Get all CIDR networks contained in an autonomous system | ||
@@ -20,6 +20,6 @@ ## Install | ||
const networks = await asNetworks('AS237'); | ||
// => Array of networks in origin object AS237 | ||
// => Array of CIDR networks in origin object AS237 | ||
const networks = await asNetworks('MAINT-AS237'); | ||
// => Array of networks maintained by object MAINT-AS237 | ||
// => Array of CIDR networks maintained by object MAINT-AS237 | ||
``` | ||
@@ -31,3 +31,3 @@ | ||
Returns a promise that will resolve to an Array of networks found for `name`. If none are found, a empty array is returned. Will reject on network errors. | ||
Returns a promise that will resolve to an Array of CIDR networks found for `name`. If none are found, a empty array is returned. Will reject on network errors. | ||
@@ -34,0 +34,0 @@ #### options |
4188