changelog-skimmer

1.0.1 • Public • Published

changelog-skimmer

📝 Given a common changelog layout, generate a summarised alternative.

I'm aspiring to make open-source my full-time work. If you like the work that I do, please consider supporting me.

Coffee PayPal

Install

npm i changelog-skimmer

Usage

Given a generic format changelog file, compact it into a short or 'skimmed' list. The output will contain the version entry and first comment for said entry.

Module

const { GenerateChangelogSkim } = require( 'changelog-skimmer' );
 
let changelog = `;
  ## 15.5.1
 
  ### Security
  - Resolved issue in react-scripts
  - Added XSS to page headers
 
  ## 15.5.0
 
  ### UI
  - Shrunk icon size
  - Added footer link
 
  ### Other
  - Bumped package dependencies
  - Added files key to package.json
`
 
(async () => {
  let output = await GenerateChangelogSkim( changelog );
  
  console.log( output );
})();

Output

## 15.5.1 
 
- Resolved issue in react-scripts
 
## 15.5.0 
 
- Shrunk icon size
- Bumped package dependencies

Test

npm test

Contribute

Don't be scared raise an issue or a pull request! Any contributions, no matter how big or small will land your picture here.

Adam Zerella

Package Sidebar

Install

npm i changelog-skimmer

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

5.6 kB

Total Files

4

Last publish

Collaborators

  • azerella