How to use the @gitmoji-changelog/markdown.convert function in @gitmoji-changelog/markdown

To help you get started, we’ve selected a few @gitmoji-changelog/markdown examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github frinyvonnick / gitmoji-changelog / packages / gitmoji-changelog-cli / dist / index.js View on Github external
async function main() {
  try {
    const changes = await (0, _core.changelog)();
    _fs2.default.writeFileSync('./CHANGELOG.md', (0, _markdown.convert)(changes));
  } catch (e) {
    console.error('Cannot find a git repository in current path.');
  }
}

@gitmoji-changelog/markdown

Gitmoji Changelog markdown formatter

MIT
Latest version published 3 years ago

Package Health Score

60 / 100
Full package analysis

Similar packages