Gathering detailed insights and metrics for @ofarukcaki/ip-range
Gathering detailed insights and metrics for @ofarukcaki/ip-range
npm install @ofarukcaki/ip-range
Typescript
Module System
Node Version
NPM Version
70.9
Supply Chain
77
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (100%)
Total Downloads
1,954
Last Day
5
Last Week
11
Last Month
29
Last Year
458
1 Stars
20 Commits
2 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.2
Package Id
@ofarukcaki/ip-range@1.0.2
Unpacked Size
15.95 kB
Size
5.11 kB
File Count
11
NPM Version
6.13.4
Node Version
12.15.0
Cumulative downloads
Total Downloads
Last day
0%
5
Compared to previous day
Last week
22.2%
11
Compared to previous week
Last month
-9.4%
29
Compared to previous month
Last year
-31%
458
Compared to previous year
6
Check if the given IP address is in the provided range.
npm i @ofarukcaki/ip-range
1const Iprange = require('@ofarukcaki/ip-range').default; 2 3const initialRanges = [ 4 ['0.0.0.1', '0.0.0.255'], 5 ['123.123.0.0', '123.123.124.255'], 6 ['66.0.0.0', '66.1.0.0'], 7]; 8 9/* Initialize a new range by providing an array of string arrays 10 * consists of start-end addresses of an IP. 11 * Don't pass a parameter if you don't want to initialize on creation 12 */ 13const range = new Iprange(initialRanges); 14 15// add a new range 16const newRange = ['192.0.0.1', '192.0.0.5']; 17range.addRange(newRange); 18 19console.log(range.checkIP('123.123.1.0')); // true 20 21console.log(range.checkIP('66.0.1.255')); // true 22 23console.log(range.checkIP('192.0.0.0')); // false 24
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-06
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More