Slackify-Markdown is a Markdown to Slack-specific-markdown converter, based on Unified and Remark.
npm install slackify-markdown
const slackifyMarkdown = require('slackify-markdown');
const markdown = `
# List of items
* item 1
* item 2
* item 3
[here is an example](https://example.com)
`;
slackifyMarkdown(markdown);
/*
*List of items*
• item 1
• item 2
• item 3
<https://example.com|here is an example>
/*
Use slackify-markdown v2 if you use nodejs version 9 and lower.
npm install slackify-markdown@2