npm.io
1.4.0 • Published 2 weeks ago

@conventional-changelog/template

Licence
MIT
Version
1.4.0
Deps
0
Size
51 kB
Vulns
0
Weekly
0
Stars
8.5K

@conventional-changelog/template

ESM-only package NPM version Node version Dependencies status Install size Build status Coverage status

Template utilities for conventional changelog generation.

Install

# pnpm
pnpm add @conventional-changelog/template
# yarn
yarn add @conventional-changelog/template
# npm
npm i @conventional-changelog/template

Usage

import {
  heading,
  link,
  list,
  url
} from '@conventional-changelog/template'

console.log(heading(2, 'Features')) // ## Features
console.log(link('commit', url('https://github.com/example/repo', 'commit', 'abc123')))
console.log(list(['a', 'b'], item => item))

Documentation

For the API reference, visit the documentation website.

License

MIT Dan Onoshko

Keywords