JSPM

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

Sort attribute values

Package Exports

  • rehype-sort-attribute-values

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 (rehype-sort-attribute-values) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rehype-sort-attribute-values

Sort attribute values.

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

Install

npm install rehype-sort-attribute-values

Example

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

License

MIT © Titus Wormer