html-to-slack-md

1.0.0 • Public • Published

html-to-slack-md

Convert html to slack markdown. This is the same as slackify-html but uses cheerio instead of htmlparser.

Example usage:

var htmlToSlackMD = require("html-to-slack-md");

var text = htmlToSlackMD('this <a href="http://github.com">link</a> is <b>important</b>');
// text variable contains 'this <http://github.com|link> is *important*'

Package Sidebar

Install

npm i html-to-slack-md

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

4.55 kB

Total Files

5

Last publish

Collaborators

  • gcimato