{"_id":"is-cidr","_rev":"180303","name":"is-cidr","description":"Check if a string is an IP address in CIDR notation","dist-tags":{"latest":"5.0.2"},"maintainers":[{"name":"silverwind","email":""}],"time":{"modified":"2022-10-18T09:42:42.000Z","created":"2016-03-25T07:31:20.197Z","5.0.2":"2022-09-20T19:43:21.828Z","5.0.1":"2022-09-19T08:20:42.540Z","5.0.0":"2022-09-16T14:45:12.863Z","4.0.2":"2020-09-28T21:15:56.194Z","4.0.1":"2020-09-08T16:38:03.839Z","4.0.0":"2020-05-13T18:40:12.118Z","3.1.1":"2020-05-13T18:21:13.402Z","3.1.0":"2019-08-23T04:35:04.501Z","3.0.0":"2018-10-14T17:50:37.877Z","2.0.7":"2018-09-18T17:02:56.479Z","2.0.6":"2018-06-04T21:20:03.579Z","2.0.5":"2018-03-03T19:29:38.536Z","2.0.4":"2017-12-18T18:45:44.564Z","2.0.3":"2017-12-18T18:05:52.493Z","2.0.2":"2017-12-18T17:58:41.979Z","2.0.1":"2017-12-18T17:51:42.072Z","2.0.0":"2017-12-18T17:48:43.646Z","1.0.0":"2016-03-25T07:33:25.473Z","0.0.0-semantically-released":"2016-03-25T07:31:20.197Z"},"users":{},"author":{"name":"silverwind","email":"me@silverwind.io"},"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"versions":{"5.0.2":{"name":"is-cidr","version":"5.0.2","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","type":"module","exports":"./index.js","sideEffects":false,"engines":{"node":">=14"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"4.0.2"},"devDependencies":{"eslint":"8.23.1","eslint-config-silverwind":"54.0.2","jest":"29.0.3","jest-extended":"3.1.0","updates":"13.1.5","versions":"9.3.0"},"types":"./index.d.ts","gitHead":"29e865646983e827e13f132f657d0a832a5b0e84","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@5.0.2","_nodeVersion":"18.8.0","_npmVersion":"8.19.1","dist":{"shasum":"8805dce4ac503dcb3270aa7e8987fcc6f400fa58","size":2096,"noattachment":false,"key":"/is-cidr/-/is-cidr-5.0.2.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-5.0.2.tgz"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_5.0.2_1663703001617_0.2539108203532645"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-20T19:46:38.270Z","publish_time":1663703001828,"_cnpm_publish_time":1663703001828},"5.0.1":{"name":"is-cidr","version":"5.0.1","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","type":"module","main":"./index.js","sideEffects":false,"engines":{"node":">=14"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^3.1.1"},"devDependencies":{"eslint":"8.9.0","eslint-config-silverwind":"48.2.0","jest":"27.5.1","updates":"13.0.2","versions":"9.2.2"},"jest":{"verbose":false,"testTimeout":10000},"types":"./index.d.ts","gitHead":"a14de6c1c33ed5970b823cba617ea5b662451ec7","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@5.0.1","_nodeVersion":"18.9.0","_npmVersion":"8.19.1","dist":{"shasum":"76660d54904efd63bebc5af3ae28867fdccb3528","size":2119,"noattachment":false,"key":"/is-cidr/-/is-cidr-5.0.1.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-5.0.1.tgz"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_5.0.1_1663575642361_0.7066869637498485"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-19T08:33:38.644Z","publish_time":1663575642540,"_cnpm_publish_time":1663575642540},"5.0.0":{"name":"is-cidr","version":"5.0.0","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","type":"module","sideEffects":false,"engines":{"node":">=14"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^3.1.1"},"devDependencies":{"eslint":"8.9.0","eslint-config-silverwind":"48.2.0","jest":"27.5.1","updates":"13.0.2","versions":"9.2.2"},"jest":{"verbose":false,"testTimeout":10000},"types":"./index.d.ts","gitHead":"a49eeb47936421320d24ffc350198920c593d8d3","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@5.0.0","_nodeVersion":"18.8.0","_npmVersion":"8.19.1","dist":{"shasum":"f8b55705c0a7b1d05c6c2d99bad5026e1a57b00b","size":2107,"noattachment":false,"key":"/is-cidr/-/is-cidr-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-5.0.0.tgz"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_5.0.0_1663339512667_0.1410233904713718"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-16T14:56:07.301Z","publish_time":1663339512863,"_cnpm_publish_time":1663339512863},"4.0.2":{"name":"is-cidr","version":"4.0.2","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=10"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^3.1.1"},"devDependencies":{"eslint":"7.10.0","eslint-config-silverwind":"18.0.10","jest":"26.4.2","updates":"11.1.5","versions":"8.4.3"},"jest":{"verbose":false,"testTimeout":10000},"gitHead":"44e44c51d55c656b5b77c6a5b427c0fbad7aa3cd","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@4.0.2","_nodeVersion":"14.12.0","_npmVersion":"6.14.7","dist":{"shasum":"94c7585e4c6c77ceabf920f8cde51b8c0fda8814","size":2079,"noattachment":false,"key":"/is-cidr/-/is-cidr-4.0.2.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-4.0.2.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_4.0.2_1601327756015_0.2663422911022353"},"_hasShrinkwrap":false,"publish_time":1601327756194,"_cnpm_publish_time":1601327756194},"4.0.1":{"name":"is-cidr","version":"4.0.1","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=10"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^3.1.0"},"devDependencies":{"eslint":"7.8.1","eslint-config-silverwind":"18.0.8","jest":"26.4.2","updates":"10.3.6","versions":"8.4.3"},"jest":{"verbose":false,"testTimeout":10000},"gitHead":"2eb629f211aec822fe0e77724d4c6d5f3387599a","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@4.0.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"shasum":"a078f3deca5d8edb3c05fc7fac1d8e17070e79eb","size":2092,"noattachment":false,"key":"/is-cidr/-/is-cidr-4.0.1.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-4.0.1.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_4.0.1_1599583083723_0.4497776973533629"},"_hasShrinkwrap":false,"publish_time":1599583083839,"_cnpm_publish_time":1599583083839},"4.0.0":{"name":"is-cidr","version":"4.0.0","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=10"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^3.0.0"},"devDependencies":{"eslint":"7.0.0","eslint-config-silverwind":"13.1.0","jest":"26.0.1","updates":"10.2.11","versions":"8.2.9"},"jest":{"verbose":false,"testTimeout":10000},"gitHead":"546b0a336c40d7ae81112f67a5455c6f1e97137b","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@4.0.0","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"shasum":"9f293f96922675391054519a4f0de222e0c7fca0","size":2086,"noattachment":false,"key":"/is-cidr/-/is-cidr-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-4.0.0.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_4.0.0_1589395211942_0.782881198252239"},"_hasShrinkwrap":false,"publish_time":1589395212118,"_cnpm_publish_time":1589395212118},"3.1.1":{"name":"is-cidr","version":"3.1.1","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=6"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^2.0.10"},"devDependencies":{"eslint":"7.0.0","eslint-config-silverwind":"13.1.0","jest":"26.0.1","updates":"10.2.11","versions":"8.2.9"},"jest":{"verbose":false,"testTimeout":10000},"gitHead":"3fabb424470e1f8844fa400ec7ef7df0d0c9cfec","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@3.1.1","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"shasum":"e92ef121bdec2782271a77ce487a8b8df3718ab7","size":2088,"noattachment":false,"key":"/is-cidr/-/is-cidr-3.1.1.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-3.1.1.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_3.1.1_1589394072882_0.7447502408889524"},"_hasShrinkwrap":false,"publish_time":1589394073402,"_cnpm_publish_time":1589394073402},"3.1.0":{"name":"is-cidr","version":"3.1.0","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=6"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^2.0.10"},"devDependencies":{"eslint":"^6.2.1","eslint-config-silverwind":"^4.0.4","updates":"^8.5.3","ver":"^5.1.3"},"gitHead":"f1cb6ec3510b50e38c243fb8360b1c5bda4c0211","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@3.1.0","_nodeVersion":"12.8.1","_npmVersion":"6.10.3","dist":{"shasum":"72e233d8e1c4cd1d3f11713fcce3eba7b0e3476f","size":2046,"noattachment":false,"key":"/is-cidr/-/is-cidr-3.1.0.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-3.1.0.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_3.1.0_1566534904379_0.20677978901472005"},"_hasShrinkwrap":false,"publish_time":1566534904501,"_cnpm_publish_time":1566534904501},"3.0.0":{"name":"is-cidr","version":"3.0.0","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=6"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address","network"],"dependencies":{"cidr-regex":"^2.0.10"},"devDependencies":{"eslint":"^5.7.0","eslint-config-silverwind":"^2.0.9","updates":"^4.5.2","ver":"^3.0.0"},"gitHead":"a042036655c77716ae1d520dcbfbc1eb0f9e786c","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"1acf35c9e881063cd5f696d48959b30fed3eed56","size":1876,"noattachment":false,"key":"/is-cidr/-/is-cidr-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-3.0.0.tgz"},"maintainers":[{"name":"silverwind","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_3.0.0_1539539437747_0.7997908119342516"},"_hasShrinkwrap":false,"publish_time":1539539437877,"_cnpm_publish_time":1539539437877},"2.0.7":{"name":"is-cidr","version":"2.0.7","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=4"},"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"eslint":"^5.6.0","eslint-config-silverwind":"^2.0.9","updates":"^4.3.0","ver":"^2.0.1"},"dependencies":{"cidr-regex":"^2.0.10"},"gitHead":"f3983163c6e98a1ca9d0628ef3221765df579518","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.7","_npmVersion":"6.3.0","_nodeVersion":"10.10.0","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"0fd4b863c26b2eb2d157ed21060c4f3f8dd356ce","size":1768,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.7.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.7.tgz"},"maintainers":[{"name":"silverwind","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_2.0.7_1537290176371_0.14441063657367503"},"_hasShrinkwrap":false,"publish_time":1537290176479,"_cnpm_publish_time":1537290176479},"2.0.6":{"name":"is-cidr","version":"2.0.6","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=4"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.25.0","eslint":"^4.19.1","eslint-config-silverwind":"^1.0.42","updates":"^3.0.0"},"dependencies":{"cidr-regex":"^2.0.8"},"gitHead":"72bde57c83a632301d12dfdfb307eec1c5b58d7f","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.6","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"4b01c9693d8e18399dacd18a4f3d60ea5871ac60","size":1778,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.6.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.6.tgz"},"maintainers":[{"name":"silverwind","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_2.0.6_1528147203210_0.4534414075284101"},"_hasShrinkwrap":false,"publish_time":1528147203579,"_cnpm_publish_time":1528147203579},"2.0.5":{"name":"is-cidr","version":"2.0.5","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=4"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.25.0","eslint":"^4.18.2","eslint-config-silverwind":"^1.0.37","updates":"^2.3.1"},"dependencies":{"cidr-regex":"^2.0.8"},"gitHead":"5579de36b76c4131c4913a2a2df9ab5148249a53","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.5","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"13227927d71865d1177fe0e5b60e6ddd3dee0034","size":1808,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.5.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.5.tgz"},"maintainers":[{"name":"silverwind","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr_2.0.5_1520105378356_0.7249335741757499"},"_hasShrinkwrap":false,"publish_time":1520105378536,"_cnpm_publish_time":1520105378536},"2.0.4":{"name":"is-cidr","version":"2.0.4","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"engines":{"node":">=4"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.24.0","eslint":"^4.13.1","updates":"^2.0.3"},"dependencies":{"cidr-regex":"^2.0.5"},"gitHead":"2741a9bfe0e9c950d57ef49616b8b737b0ca2736","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"81b5b214a9f698c28eea0dfce200f7cb5b237a0f","size":1781,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.4.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.4.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr-2.0.4.tgz_1513622743619_0.9502790092956275"},"directories":{},"publish_time":1513622744564,"_hasShrinkwrap":false,"_cnpm_publish_time":1513622744564},"2.0.3":{"name":"is-cidr","version":"2.0.3","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.24.0","eslint":"^4.13.1","updates":"^2.0.3"},"dependencies":{"cidr-regex":"^2.0.5"},"gitHead":"113208360f3b716b5d98052a5c845734e6b57d29","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"6dd70b08d0cd74aff2af5c162e55ae7d64faaa04","size":1769,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.3.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.3.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr-2.0.3.tgz_1513620349832_0.21585166407749057"},"directories":{},"publish_time":1513620352493,"_cnpm_publish_time":1513620352493,"_hasShrinkwrap":false},"2.0.2":{"name":"is-cidr","version":"2.0.2","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.24.0","eslint":"^4.13.0","updates":"^2.0.3"},"dependencies":{"cidr-regex":"^2.0.1"},"gitHead":"64cdc0ed71060cdaad391aa2fcf99129282ad41e","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"c138ea384a4cabcba51502fe1d0c26ce745f3131","size":1767,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.2.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr-2.0.2.tgz_1513619921124_0.026439998764544725"},"directories":{},"publish_time":1513619921979,"_hasShrinkwrap":false,"_cnpm_publish_time":1513619921979},"2.0.1":{"name":"is-cidr","version":"2.0.1","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.24.0","eslint":"^4.13.0","updates":"^2.0.3"},"dependencies":{"cidr-regex":"^2.0.1"},"gitHead":"f3383e15892547a0ea8d08151e3465d33aa63bfd","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"f9801dc9f4bd6d0dda163ecfad506d8ac1a1198a","size":1769,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.1.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr-2.0.1.tgz_1513619501170_0.8816724512726068"},"directories":{},"publish_time":1513619502072,"_hasShrinkwrap":false,"_cnpm_publish_time":1513619502072},"2.0.0":{"name":"is-cidr","version":"2.0.0","description":"Check if a string is an IP address in CIDR notation","author":{"name":"silverwind","email":"me@silverwind.io"},"contributors":[{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"}],"repository":{"type":"git","url":"git+https://github.com/silverwind/is-cidr.git"},"license":"BSD-2-Clause","scripts":{"test":"make test"},"files":["index.js"],"keywords":["cidr","regex","notation","cidr notation","prefix","prefixes","ip","ip address"],"devDependencies":{"ava":"^0.24.0","eslint":"^4.13.0","updates":"^2.0.3"},"dependencies":{"cidr-regex":"^2.0.1"},"gitHead":"8c7a7fb5f4ecac51e10990168722510aafc28050","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"homepage":"https://github.com/silverwind/is-cidr#readme","_id":"is-cidr@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"dist":{"shasum":"1d8d8e7370f07e9393e07f353204fbf4bfca5c1a","size":1766,"noattachment":false,"key":"/is-cidr/-/is-cidr-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-2.0.0.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-cidr-2.0.0.tgz_1513619322729_0.8366710199043155"},"directories":{},"publish_time":1513619323646,"_hasShrinkwrap":false,"_cnpm_publish_time":1513619323646},"1.0.0":{"name":"is-cidr","version":"1.0.0","description":"Check if a string is a valid CIDR","main":"lib/index.js","scripts":{"commit":"git-cz","prebuild":"npm run lint && npm run clean","build":"babel --presets es2015 -d lib/ src/","clean":"rimraf lib && mkdir lib","lint":"eslint src/ test/","test":"ava --require babel-register","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/flipjs/is-cidr.git"},"keywords":["ip","ip address","cidr","netblock","regex"],"author":{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"},"license":"MIT","bugs":{"url":"https://github.com/flipjs/is-cidr/issues"},"homepage":"https://github.com/flipjs/is-cidr#readme","devDependencies":{"ava":"0.13.0","babel-cli":"6.6.5","babel-preset-es2015":"6.6.0","babel-register":"6.7.2","commitizen":"2.7.3","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-standard":"5.1.0","eslint-plugin-babel":"3.1.0","eslint-plugin-promise":"1.1.0","eslint-plugin-standard":"1.3.2","ghooks":"1.0.3","rimraf":"2.5.2","semantic-release":"4.3.5"},"babel":{"presets":["es2015"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"},"ghooks":{"pre-commit":"npm run test && npm run build"}},"dependencies":{"cidr-regex":"1.0.6"},"gitHead":"aff5d0db5e0cb2921f5119ddcbb645b380a379ca","_id":"is-cidr@1.0.0","_shasum":"fb5aacf659255310359da32cae03e40c6a1c2afc","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"flipjsio","email":"flipjs.io@gmail.com"},"dist":{"shasum":"fb5aacf659255310359da32cae03e40c6a1c2afc","size":2817,"noattachment":false,"key":"/is-cidr/-/is-cidr-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-1.0.0.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/is-cidr-1.0.0.tgz_1458891203300_0.08885052264668047"},"directories":{},"publish_time":1458891205473,"_cnpm_publish_time":1458891205473,"_hasShrinkwrap":false},"0.0.0-semantically-released":{"name":"is-cidr","version":"0.0.0-semantically-released","description":"Check if a string is a valid CIDR","main":"lib/index.js","scripts":{"commit":"git-cz","prebuild":"npm run lint && npm run clean","build":"babel --presets es2015 -d lib/ src/","clean":"rimraf lib && mkdir lib","lint":"eslint src/ test/","test":"ava --require babel-register","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/flipjs/is-cidr.git"},"keywords":["ip","ip address","cidr","netblock","regex"],"author":{"name":"Felipe Apostol","email":"flipjs.io@gmail.com","url":"http://flipjs.io/"},"license":"MIT","bugs":{"url":"https://github.com/flipjs/is-cidr/issues"},"homepage":"https://github.com/flipjs/is-cidr#readme","devDependencies":{"ava":"0.13.0","babel-cli":"6.6.5","babel-preset-es2015":"6.6.0","babel-register":"6.7.2","commitizen":"2.7.3","cz-conventional-changelog":"1.1.5","eslint":"2.4.0","eslint-config-standard":"5.1.0","eslint-plugin-babel":"3.1.0","eslint-plugin-promise":"1.1.0","eslint-plugin-standard":"1.3.2","ghooks":"1.0.3","rimraf":"2.5.2","semantic-release":"4.3.5"},"babel":{"presets":["es2015"]},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"},"ghooks":{"pre-commit":"npm run test && npm run build"}},"dependencies":{"cidr-regex":"1.0.6"},"gitHead":"aff5d0db5e0cb2921f5119ddcbb645b380a379ca","_id":"is-cidr@0.0.0-semantically-released","_shasum":"c5cf6b2178e94028666ed3c00dbf6f51ff3d1a68","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"flipjsio","email":"flipjs.io@gmail.com"},"dist":{"shasum":"c5cf6b2178e94028666ed3c00dbf6f51ff3d1a68","size":2829,"noattachment":false,"key":"/is-cidr/-/is-cidr-0.0.0-semantically-released.tgz","tarball":"http://name.csiicloud.com:7001/is-cidr/download/is-cidr-0.0.0-semantically-released.tgz"},"maintainers":[{"name":"silverwind","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/is-cidr-0.0.0-semantically-released.tgz_1458891077857_0.20369952847249806"},"directories":{},"publish_time":1458891080197,"_cnpm_publish_time":1458891080197,"_hasShrinkwrap":false}},"readme":"# is-cidr\n\n[![](https://img.shields.io/npm/v/is-cidr.svg?style=flat)](https://www.npmjs.org/package/is-cidr) [![](https://img.shields.io/npm/dm/is-cidr.svg)](https://www.npmjs.org/package/is-cidr)\n\n> Check if a string is an IP address in CIDR notation\n\n## Install\n\n```\nnpm i is-cidr\n```\n\n## Usage\n\n```js\nconst isCidr = require(\"is-cidr\");\n\nisCidr(\"192.168.0.1/24\"); //=> 4\nisCidr(\"1:2:3:4:5:6:7:8/64\"); //=> 6\nisCidr(\"10.0.0.0\"); //=> 0\nisCidr.v6(\"10.0.0.0/24\"); //=> false\n```\n\n## API\n### isCidr(input)\n\nCheck if `input` is a IPv4 or IPv6 CIDR address. Returns either `4`, `6` (indicating the IP version) or `0` if the string is not a CIDR.\n\n### isCidr.v4(input)\n\nCheck if `input` is a IPv4 CIDR address. Returns a boolean.\n\n### isCidr.v6(input)\n\nCheck if `input` is a IPv6 CIDR address. Returns a boolean.\n\n## Related\n\n- [cidr-regex](https://github.com/silverwind/cidr-regex) - Regular expression for matching IP addresses in CIDR notation\n- [is-ip](https://github.com/sindresorhus/is-ip) - Check if a string is an IP address\n- [ip-regex](https://github.com/sindresorhus/ip-regex) - Regular expression for matching IP addresses\n- [cidr-tools](https://github.com/silverwind/cidr-tools) - Tools to work with IPv4 and IPv6 CIDR network lists\n\n## License\n\n© [silverwind](https://github.com/silverwind), distributed under BSD licence\n\nBased on previous work by [Felipe Apostol](https://github.com/flipjs)\n","_attachments":{},"homepage":"https://github.com/silverwind/is-cidr#readme","bugs":{"url":"https://github.com/silverwind/is-cidr/issues"},"license":"BSD-2-Clause"}