New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cclog-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cclog-parser

conventional-changelog parser

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cclog-parser npm standard downloads

conventional-changelog log parser

parse changelog file format same as https://github.com/karma-runner/karma/blob/master/CHANGELOG.md

Install

npm install cclog-parser

Useage

INPUT

<a name="0.1.0"></a>
# some thing 


### Bug Fixes

* fixa ([17c2c43](https://abc/commit/abc))
* fixb ([17c2c43](https://abc/commit/abc))


### Features

* feata ([17c2c43](https://abc/commit/abc))
* featb ([17c2c43](https://abc/commit/abc))


<a name="0.0.1"></a>
# some thing 

### Bug Fixes

* fixc ([17c2c43](https://abc/commit/abc))
* fixd ([17c2c43](https://abc/commit/abc))


### Features

* featc ([17c2c43](https://abc/commit/abc))
* featd ([17c2c43](https://abc/commit/abc))

CODE

const parser = require('cclog-parser')
const result = parser(changelog)

OPTIONS

  • includeDetails: true

toggle commit message detail include

OUTPUT

{
  "versions": [
    "0.1.0",
    "0.0.1"
  ],
  "changes": {
    "0.1.0": {
      "fixes": [
        "fixa ([17c2c43](https://abc/commit/abc))",
        "fixb ([17c2c43](https://abc/commit/abc))"
      ],
      "features": [
        "feata ([17c2c43](https://abc/commit/abc))",
        "featb ([17c2c43](https://abc/commit/abc))"
      ]
    },
    "0.0.1": {
      "fixes": [
        "fixc ([17c2c43](https://abc/commit/abc))",
        "fixd ([17c2c43](https://abc/commit/abc))"
      ],
      "features": [
        "featc ([17c2c43](https://abc/commit/abc))",
        "featd ([17c2c43](https://abc/commit/abc))undefined"
      ]
    }
  }
}

License

MIT

Keywords

FAQs

Package last updated on 20 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc