{"name":"@commitlint/read","version":"13.0.0","description":"Read commit messages from a specified range or last edit","main":"lib/read.js","types":"lib/read.d.ts","scripts":{"deps":"dep-check","pkg":"pkg-check --skip-import"},"engines":{"node":">=v12"},"repository":{"type":"git","url":"git+https://github.com/conventional-changelog/commitlint.git"},"bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"homepage":"https://github.com/conventional-changelog/commitlint#readme","keywords":["conventional-changelog","commitlint","library","core"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","devDependencies":{"@commitlint/test":"^13.0.0","@commitlint/utils":"^13.0.0","@types/fs-extra":"^9.0.1","@types/git-raw-commits":"^2.0.0","execa":"^5.0.0"},"dependencies":{"@commitlint/top-level":"^13.0.0","@commitlint/types":"^13.0.0","fs-extra":"^10.0.0","git-raw-commits":"^2.0.0"},"gitHead":"ca0ddf736a495fe6868cb9b4c43ae65476a5a6bf","readme":"> Read commit messages from a specified range or last edit\n\n# @commitlint/read\n\n## Getting started\n\n```shell\nnpm install --save @commitlint/read\n```\n\n## Example\n\n```js\nconst read = require('@commitlint/read').default;\n\n// Read last edited commit message\nread({edit: true}).then((messages) => console.log(messages));\n// => ['I did something\\n\\n']\n\n// Read from the third to second commit message from HEAD\nread({from: 'HEAD~2', to: 'HEAD~1'}).then((messages) => console.log(messages));\n// => ['Initial commit\\n\\n']\n```\n\nConsult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.\n","readmeFilename":"README.md","_id":"@commitlint/read@13.0.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/4.0.0/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-oVPh+xBj44TqWgh+Lp9hoWVF/tR8vJcVyRfb5KF5weSCxo14Nu5M2qhLFaXuUdBgL1wy//QlsYau0jWxto2HTA==","shasum":"f3650acee4544b913e9fc9ec4ee2eb6dd24fb67e","tarball":"http://registry-npm.ywwl.com/@commitlint/read/download/@commitlint/read-13.0.0.tgz","fileCount":24,"unpackedSize":18273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq1jsCRA9TVsSAnZWagAAayAP/RpFLLuG4reDnoHtx5ZZ\nrgIE9W3K+WPgUxQ8KgPWyj/Tjuws3OKDL8TPsfaeqZ+MjQEkMaWMaN7NlD+Y\nRomxMertuR+Uj+xNeqvCme3DV59S2KscSOO/XaYWWGG40++3uzE8pO1+WRgb\nETnQHLH89uqNxxsda3xGwTMdPR8nweFoDEVFWl7Rbo89pgJTPNoSwkNLdiOg\neM95WawAGkooGFfun9JT7kfn7dDoWfzqeG/aq7dL6mO2R22FHjbMU9RrE8TI\nC70clG+sECxyF7dV3xqJOah6hi06NaAbYbg3AjDe1Iicg76uUGfd1FCmdLRd\nWF7g2bmnH6iX7X40zUIgVotihgXhy4uO5xtxbYC8LPMnAHidkN6t7j7ZpSqw\nBBbBw9LvQUCzZu/bsRoEvVbEKBUgymLrGYvNrB+h9T8ba+pikhjNY/JfhjzI\nk38aBzs1Nc9i/dWI4XSenwqTAfwf6ZFAzSicPymhnGwn0QkfE1wQzk7FEW3G\nYMQrBVUXqsQXncrenoAd/D4aM+l8deX8ADMrztmFVvFYT7jkwioX5+VkNfte\nprECBOS6ARZs8ZYYxCLwv6K9RvVrM0yANIVDcHpw0UN6G0rstnL1LctECm/p\n+0mhfxXXtWxDRt6gG+uf+pNe2SZ51w107wI/dOrIOVh9dKxglwPQDaWlItaI\nlx2g\r\n=Jgvh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwqjdJhpDOwXT4Et0SDwV/lPQa6KWwWEYGKm2DsfphUAIhAML3WZb+/IFgH6xZjiB1BMzg8nBYh55qZfJRkD2M1E10"}],"size":5700,"noattachment":false,"key":"/@commitlint/read/-/@commitlint/read-13.0.0.tgz"},"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"directories":{},"maintainers":[{"name":"marionebl","email":"hello@mario-nebl.de"},{"name":"martinhelmut","email":"info@martin-fieber.se"},{"name":"escapedcat","email":"npm@htmlcss.de"},{"name":"bycedric","email":"me@bycedric.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read_13.0.0_1621842156558_0.04793315654916408"},"_hasShrinkwrap":false,"publish_time":1621842156675,"_cnpm_publish_time":1621842156675,"dist-tags":{"latest":"21.2.3"}}