Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

netlify-redirect-parser

2.5.0 • Public • Published

Netlify Redirect Parser

This is a small node library for parsing Netlify's redirect rules.

It works with _redirect, netlify.toml, netlify.yml and netlify.json files and will turn the rules into a canonical list of object literals representing the parsed rules

Published as https://www.npmjs.com/package/netlify-redirect-parser. For most users, you are not meant to use this directly, please refer to https://github.com/netlify/cli instead. However if you are debugging issues with redirect parsing, issues and PRs are welcome.

Keywords

Install

npm i netlify-redirect-parser

DownloadsWeekly Downloads

43,900

Version

2.5.0

License

MIT

Unpacked Size

13.5 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar