Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

rehype-minify-url

3.0.2 • Public • Published

rehype-minify-url

Build Coverage Downloads Size Sponsors Backers Chat

Minify URLs. Uses relateurl. from in options is required (which must be an absolute url to where the file is hosted. All other options are passed through.

Install

npm:

npm install rehype-minify-url

Example

With { from: 'https://example.com' } as options.

In
<a href="/foo/../bar.html"></a>
Out
<a href="bar.html"></a>

Contribute

See contributing.md in rehypejs/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer

Install

npm i rehype-minify-url

DownloadsWeekly Downloads

3

Version

3.0.2

License

MIT

Unpacked Size

5.13 kB

Total Files

3

Last publish

Collaborators

  • avatar
  • avatar