{"name":"@commitlint/read","version":"9.1.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":">=8"},"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":"^9.1.0","@commitlint/utils":"^9.1.0","@types/fs-extra":"^8.0.1","@types/git-raw-commits":"^2.0.0"},"dependencies":{"@commitlint/top-level":"^9.1.0","fs-extra":"^8.1.0","git-raw-commits":"^2.0.0"},"gitHead":"c9f5c5cb3f995362c760308f114b6319c0e55ce3","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');\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@9.1.0","_nodeVersion":"12.18.0","_npmVersion":"lerna/3.22.1/node@v12.18.0+x64 (darwin)","dist":{"integrity":"sha512-xRLv2fxtmrtWaAb5wcCZGfnZJ63xVBp+3jj4QhYpYSwbNGDfiPJ2uvqbJB1vxb7oBLPsA3sx074m2cKaDSkylg==","shasum":"187796144a49b237143a59e81f63e20affaea08f","tarball":"http://registry-npm.ywwl.com/@commitlint/read/download/@commitlint/read-9.1.0.tgz","fileCount":24,"unpackedSize":14883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7w4MCRA9TVsSAnZWagAAYH0P/20dzbLYsMASlPpOJIui\nOmjSbVSRNZ3HfIZnraCfbXaY0ZmzbzzfuBAtyBJ7OMYHdmZXwpJrBBhu9LVi\nn9zN6dsTOZfr1PWU4/mkyMTO82gfx9a4AGshoCqxuN5aTW3zNNIFRZpby7Uc\n+ZZrtikh2uA1VOYQ1limRt2/wPqlt2jUrlVH1iFB4bBvoZODqb1w6mptmDMN\nKL6rpOhybpaQnM99uEiKtl8A/MrLd6OTTbPijf1z7bfO5UfwH/MroTvcfczM\nRvcT93+k9Pgd4Sdd0hup4HEdY2M/kbjNYz12rITfFxFD8ySbpcLtL/3KErdx\n21Emiw0God8ZxCNtNeTLfLlIlh9jG+1vCFKdQJ/YnYwdRpyqF0WrZaAwx1gD\nzsT7Tw5avfV97sA6ph7DSAgp6rNKEmpCGTVNwdxbl7rH0jt/hJXnmWmHSZNU\nzrjO5dLDOSZyVZ7VRJ4w/VV0NwWoOkDXCOkgjJ0S6RHAyGqxJZt5OvZBTS5l\nbFWdAg5y3/RuD8XW5EwRIebpt1FnnFR4+xlpfpTksgSh96gkNCaZWGUmwMZq\nGcBiq0tkc1IzhvcOSNl0DhokTtgrDZm0f/DrSt/Wj7mWk8gOBnqpM/6iBIvY\nTrDkyQtLldLGPXrGkXOw6zIC34ApRArRVelR/5mIfv8/LcTWbDwjbWg8/Pao\nwdyZ\r\n=5739\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4qh5lB9Ia7u7sBQw9gZEuwmPwHHvhG2WZxPwDiXjDDQIgLO+jc4sr7egP3qe71lpBkoycTsnc2cjHnx1P52ANCz8="}],"size":4982,"noattachment":false,"key":"/@commitlint/read/-/@commitlint/read-9.1.0.tgz"},"maintainers":[{"email":"me@bycedric.com","name":"bycedric"},{"email":"npm@htmlcss.de","name":"escapedcat"},{"email":"hello@mario-nebl.de","name":"marionebl"},{"email":"info@martin-fieber.de","name":"martinhelmut"}],"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read_9.1.0_1592725003641_0.5010287109774909"},"_hasShrinkwrap":false,"publish_time":1592725003781,"_cnpm_publish_time":1592725003781,"dist-tags":{"latest":"21.2.3"}}