Gathering detailed insights and metrics for @hashicorp/netlify-to-nextjs-redirect-exporter
Gathering detailed insights and metrics for @hashicorp/netlify-to-nextjs-redirect-exporter
Gathering detailed insights and metrics for @hashicorp/netlify-to-nextjs-redirect-exporter
Gathering detailed insights and metrics for @hashicorp/netlify-to-nextjs-redirect-exporter
Convert Netlify redirects into Next.js-compatible redirects
npm install @hashicorp/netlify-to-nextjs-redirect-exporter
Typescript
Module System
Node Version
NPM Version
67.5
Supply Chain
78.4
Quality
83
Maintenance
100
Vulnerability
81.3
License
TypeScript (52.93%)
JavaScript (47.07%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MPL-2.0 License
6 Stars
22 Commits
2 Forks
4 Watchers
10 Branches
39 Contributors
Updated on Aug 13, 2024
Latest Version
0.0.6
Package Id
@hashicorp/netlify-to-nextjs-redirect-exporter@0.0.6
Size
1.96 kB
NPM Version
6.14.4
Node Version
12.16.2
Published on
Aug 21, 2020
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
6
A Node.js library and CLI that converts a Netlify _redirects
file into compatible Next.js redirect rules
1npm i @hashicorp/netlify-to-nextjs-redirect-exporter
1// next.config.js 2import parseNetlifyRedirects from "@hashicorp/netlify-to-nextjs-redirect-exporter"; 3 4const contents = fs.readFileSync("/path/to/_redirects/file"); 5 6const { rewrites, redirects } = parseNetlifyRedirects(contents); 7 8module.exports = { 9 async rewrites() return rewrites 10 async redirects() return redirects 11}
1$ ./node_modules/.bin/export-netlify-redirects ./_redirects
1npm i 2npm run watch
1npm t
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
all dependencies are pinned
Details
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/15 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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