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

rehype-sort-attribute-values

3.0.2 • Public • Published

rehype-sort-attribute-values

Build Coverage Downloads Size Sponsors Backers Chat

Sort attribute values.

This optimizes for repetition-based compression (such as GZip).

Install

npm:

npm install rehype-sort-attribute-values

Example

In
<div class="qux quux foo bar"></div>
Out
<div class="bar foo quux qux"></div>

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-sort-attribute-values

DownloadsWeekly Downloads

14,924

Version

3.0.2

License

MIT

Unpacked Size

5.72 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar