Read commit messages from a specified range or last edit
@commitlint/read
Getting started
npm install --save @commitlint/read
Example
const read = ; // Read last edited commit message;// => ['I did something\n\n'] // Read from the third to second commit message from HEAD;// => ['Initial commit\n\n']
Consult docs/api for comprehensive documentation.