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*'

/html-to-slack-md/

    Package Sidebar

    Install

    npm i html-to-slack-md

    Weekly Downloads

    10

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.55 kB

    Total Files

    5

    Last publish

    Collaborators

    • gcimato