rehype-minify-javascript-script
rehype plugin to minify `script` elements with a JS body
Last updated 5 months ago by wooorm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rehype-minify-javascript-script 
SYNC missed versions from official npm registry.

rehype-minify-javascript-script

Build Coverage Downloads Size Sponsors Backers Chat

Minify script elements with a JavaScript body.

Install

npm:

npm install rehype-minify-javascript-script

Example

In
<script>
  var name = "World";
  console.log("Hello, " + name + "!");
</script>
Out
<script>var name="World";console.log("Hello, "+name+"!")</script>

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 (5 months ago)

7 Versions

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

Copyright 2014 - 2016 © taobao.org |