Gathering detailed insights and metrics for slash-to-regexp
Gathering detailed insights and metrics for slash-to-regexp
Gathering detailed insights and metrics for slash-to-regexp
Gathering detailed insights and metrics for slash-to-regexp
npm install slash-to-regexp
Typescript
Module System
Min. Node Version
Node Version
NPM Version
63.6
Supply Chain
66.8
Quality
76.5
Maintenance
100
Vulnerability
100
License
JavaScript (99.03%)
Shell (0.97%)
Total Downloads
12,025
Last Day
1
Last Week
6
Last Month
303
Last Year
4,126
MIT License
1 Stars
21 Commits
1 Forks
2 Watchers
8 Branches
1 Contributors
Updated on Nov 19, 2024
Minified
Minified + Gzipped
Latest Version
0.1.0
Package Id
slash-to-regexp@0.1.0
Unpacked Size
3.53 kB
Size
1.81 kB
File Count
5
NPM Version
10.9.0
Node Version
20.18.0
Published on
Oct 24, 2024
Cumulative downloads
Total Downloads
Last Day
-97%
1
Compared to previous day
Last Week
-92.5%
6
Compared to previous week
Last Month
47.8%
303
Compared to previous month
Last Year
58.9%
4,126
Compared to previous year
No dependencies detected.
Convert path with slash into regexp.
1npm install slash-to-regexp
1const slashToRegexp = require('slash-to-regexp'); 2 3slashToRegexp('node_modules/core-js'); 4// output /node_modules[\\/]core-js/ 5 6slashToRegexp('node_modules\\\\core-js', 'g'); 7// output /node_modules[\\/]core-js/g 8 9slashToRegexp('/node_modules/decimal.js/'); 10// output /[\\/]node_modules[\\/]decimal\.js[\\/]/
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
Found 0/20 approved changesets -- 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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-05-12
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