JSPM

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

Remove comments (except conditional comments)

Package Exports

  • rehype-remove-comments

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

Readme

rehype-remove-comments

Remove comments (except conditional comments).

When configured with force: true (default: false), conditional comments are also removed.

Install

npm install rehype-remove-comments

Example

In
<!--Hello-->
<!--[if IE 6]>OK<![endif]-->
Out
<!--[if IE 6]>OK<![endif]-->

License

MIT © Titus Wormer