JSPM

@netlify/redirect-parser

15.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 158506
  • Score
    100M100P100Q171445F
  • License MIT

Parses netlify redirects into a js object representation

Package Exports

  • @netlify/redirect-parser

Readme

Netlify Redirect Parser

Parses redirect rules from both _redirects and netlify.toml and normalizes them to an array of objects.

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.