JSPM

  • Created
  • Published
  • Downloads 69856
  • Score
    100M100P100Q161329F
  • License MIT

Parses netlify redirects into a js object representation

Package Exports

  • netlify-redirect-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (netlify-redirect-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.