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

rehype-minify-enumerated-attribute

Build Coverage Downloads Size Sponsors Backers Chat

Minify enumerated attributes.

Sometimes attributes or their values can be dropped entirely, or a shorter value can be used.

Install

npm:

npm install rehype-minify-enumerated-attribute

Example

In
<meta charset="utf-8">
<video preload="auto">
  <track kind="subtitles" src="abc.xyz">
</video>
Out
<meta charset="utf8">
<video preload="">
  <track src="abc.xyz">
</video>

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.2                                ...           latest (4 months ago)

7 Versions

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

Copyright 2014 - 2016 © taobao.org |