{"name":"@commitlint/read","version":"12.1.2","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":">=v10"},"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":"^12.1.0","@commitlint/utils":"^12.1.1","@types/fs-extra":"^9.0.1","@types/git-raw-commits":"^2.0.0","execa":"^5.0.0"},"dependencies":{"@commitlint/top-level":"^12.1.1","@commitlint/types":"^12.1.2","fs-extra":"^9.0.0","git-raw-commits":"^2.0.0"},"gitHead":"9c6c793f63bb9c812a27721f9f13dc68e6c482f8","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@12.1.2","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-ibzMMxKmzcDSslMBZPvaJVPnWgFQX9w6DK4x55rfReFVoKguuysFWoQvBMpWbjT4PZClCs7UPGMFNq9sNnHT5w==","shasum":"053a3bc958eb3f653055a3c062687337c63f95cc","tarball":"http://registry-npm.ywwl.com/@commitlint/read/download/@commitlint/read-12.1.2.tgz","fileCount":24,"unpackedSize":17518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgik6nCRA9TVsSAnZWagAAd0gQAJDS4BcGCGjdMzVjw9tl\nc8e2nKrtqDqCIZ8tm1JRpSgfVPQTCDRHmFI4baXfHWOG0Cbvpoyu78KYoM/v\nPInhxdmUQryARcbOyYF/lOPh+DEkykNOBOdzeQQ6s9VJlbAF6TmyIbbd32wE\nOCF95VR4ix35rQjaj3NbNiJLS+IoqK2nVy88nUjuRaonMsDwir9PaWc7ZPmL\nsitYu5E1WOTPMM+jsGe47as41Uwu4yKmnBWiAd8sSZkA4ENaxPWcPJIyDM12\nwJzFjbbDt67L6x/D3pZyrIuU555u7EhMmCyndPRwg3FK8IxarJstXb1pAwZl\nZx/1Og2qPGVvoczZWPbtISMid3qQVH/GSTx6hdpzFFwhtLgYn4JdCEkUwR8I\nFhpb4Z4imK6pRzZ/fSIe15ig01g+wIGqxXAbe/YY4rF9rh6zhrLPXPDlK+b1\nHnxmELzAl8HiNghLdUc3HzU9GBqQ1Wkw3W9J3/SMg14wHG9ErS4V4RzKR+fR\nUj36gFvDR4Jw0Cgh7TfgFyd8tg+7qjOEL9z1pj7836ygbzEhaGwICJemVA+q\nNxIJOJtBPO19tQ+2wJJCd7gvp+fJmowFl8KtbpURyGOpgQ0bd7+GAT8zGPm5\ndUeMHLpUQoy9FPFdLYNfeU6ZGMfcGpEciHQmDceYM+9m8FFLRHtgbzy4GnV1\nd4CT\r\n=XvyQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTxILcghwAzJnEstp28Sp7RTMNxJYDo6NLphvK8n7l2AIgHe6pyIv1+cPatYUAWI25wW9vfntotFbTT+8hYr8HNUQ="}],"size":5543,"noattachment":false,"key":"/@commitlint/read/-/@commitlint/read-12.1.2.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_12.1.2_1619676839065_0.21834152707148435"},"_hasShrinkwrap":false,"publish_time":1619676839213,"_cnpm_publish_time":1619676839213,"dist-tags":{"latest":"21.2.3"}}