Have ideas to improve npm?Join in the discussion! »

rehype-minify-media-attribute

2.0.2 • Public • Published

rehype-minify-media-attribute

Build Coverage Downloads Size Sponsors Backers Chat

Minify media attributes.

Install

npm:

npm install rehype-minify-media-attribute

Example

In
<link rel="stylesheet" media="only screen and (min-width: 320px)" href="index.css">
<link rel="stylesheet" media="all" href="index.css">
Out
<link rel="stylesheet" media="only screen and (min-width:320px)" href="index.css">
<link rel="stylesheet" href="index.css">

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-media-attribute

DownloadsWeekly Downloads

191

Version

2.0.2

License

MIT

Unpacked Size

4.32 kB

Total Files

3

Last publish

Collaborators

  • avatar
  • avatar