rehype-minify-url
rehype plugin to minify URLs
Last updated 7 months ago by wooorm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rehype-minify-url 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.1                                ...           latest (7 months ago)

6 Versions

  • 3.0.1                                ...           7 months ago
  • 3.0.0                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |