JSPM

remark-squeeze-links

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

remark plugin to remove empty (or whitespace only) links

Package Exports

  • remark-squeeze-links
  • remark-squeeze-links/lib/index.esm.js

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

Readme

remark-squeeze-links

remark plugin to remove empty (or whitespace only) links.

Install

npm:

npm install remark-squeeze-links

Use

var remark = require('remark')
var squeezeLinks = require('remark-squeeze-links')

remark().use(squeezeLinks).processSync('[](#about)\ntext').toString()
// => "text\n"

API

Remove empty (or white-space only) links.

Contribute

See contributing.md in remarkjs/.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 © Takuya Matsuyama