reference implementation of conventionalcommits.org spec
npm install @conventional-commits/parser!ci
!nycrc config on GitHub

Reference implementation of Conventional Commits specification.
Outputs a tree structure based on the
unist specification.
```
npm i @conventional-commits/parser
`js`
const {parser} = require('@conventional-commits/parser')
const ast = parser('feat(parser): add support for scopes')
Runs conventional commits parser on the string provided.
* Returns: Object adhering to unist spec.
Given an object, representing the parsed commit messages in unist format,
returns an object useable by the conventional-changelog ecosystem of libraries.
The parser is based on the following grammar. An effort is made to keep this
in sync with the written specification on conventionalcommits.org.
`ebnf
/ See: https://tools.ietf.org/html/rfc3629#section-4 /
/ See: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-white-space /
/ Any non-newline whitespace: /
/ "!" should be added to the AST as a
|
/ "!" should be added to the AST as a
|
|
|
``