{"_id":"git-latest-tag","_rev":"26817","name":"git-latest-tag","description":"Get the most recent git tag of your repository using git-describe(1)","dist-tags":{"latest":"0.0.6"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"time":{"modified":"2021-06-03T10:02:46.000Z","created":"2015-02-23T05:47:49.982Z","0.0.6":"2015-02-24T03:01:53.361Z","0.0.5":"2015-02-24T00:39:13.300Z","0.0.4":"2015-02-23T07:27:58.310Z","0.0.3":"2015-02-23T06:24:53.174Z","0.0.2":"2015-02-23T06:07:01.763Z","0.0.1":"2015-02-23T05:50:25.610Z","0.0.0":"2015-02-23T05:47:49.982Z"},"users":{},"author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"versions":{"0.0.6":{"name":"git-latest-tag","version":"0.0.6","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*","rewire":"^2.3.1","through2":"^0.6.3"},"scripts":{"test":"mocha"},"dependencies":{"decamelize":"^1.0.0","lodash":"^3.3.0"},"gitHead":"8154b7801fc23d88b2de23bfcdedb80d35f39927","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.6","_shasum":"e687c447d62795e8d59b247053c358afa564bc6c","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"e687c447d62795e8d59b247053c358afa564bc6c","size":1697,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.6.tgz"},"directories":{},"publish_time":1424746913361,"_cnpm_publish_time":1424746913361,"_hasShrinkwrap":false},"0.0.5":{"name":"git-latest-tag","version":"0.0.5","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"dependencies":{"decamelize":"^1.0.0","lodash":"^3.3.0"},"gitHead":"eabf2510abb73b4ca384e2d04175102f17d252ce","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.5","_shasum":"ea2f5ee8071180b44a26dec98872bc717d5a4867","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"ea2f5ee8071180b44a26dec98872bc717d5a4867","size":1628,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.5.tgz"},"directories":{},"publish_time":1424738353300,"_cnpm_publish_time":1424738353300,"_hasShrinkwrap":false},"0.0.4":{"name":"git-latest-tag","version":"0.0.4","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"dependencies":{"lodash":"^3.3.0"},"gitHead":"ac92a23c2b736370e9297e4ef3d1a2b3d6d71da3","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.4","_shasum":"062a481f2866c633b317d1ab016ddb78c0c4d590","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"062a481f2866c633b317d1ab016ddb78c0c4d590","size":1801,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.4.tgz"},"directories":{},"publish_time":1424676478310,"_cnpm_publish_time":1424676478310,"_hasShrinkwrap":false},"0.0.3":{"name":"git-latest-tag","version":"0.0.3","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"dependencies":{"lodash":"^3.3.0"},"gitHead":"47186df30301dbde302c5e1db8297bc1da859337","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.3","_shasum":"66e7363e2509aa8f887cd919d848f626289e122f","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"66e7363e2509aa8f887cd919d848f626289e122f","size":1741,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.3.tgz"},"directories":{},"publish_time":1424672693174,"_cnpm_publish_time":1424672693174,"_hasShrinkwrap":false},"0.0.2":{"name":"git-latest-tag","version":"0.0.2","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"dependencies":{"lodash":"^3.3.0"},"gitHead":"8b682d075027b16b2eeb6c93fca7ee3bcdbcd84c","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.2","_shasum":"b37b1a76470e07647e2b1acab2077f726400eb5c","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"b37b1a76470e07647e2b1acab2077f726400eb5c","size":1709,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.2.tgz"},"directories":{},"publish_time":1424671621763,"_cnpm_publish_time":1424671621763,"_hasShrinkwrap":false},"0.0.1":{"name":"git-latest-tag","version":"0.0.1","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"dependencies":{"lodash":"^3.3.0"},"gitHead":"2007a66b72c4fdd18a0deb697acf7898034cfb43","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.1","_shasum":"c9491f4b5079b8d278747eb830bea8f4247d9371","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"c9491f4b5079b8d278747eb830bea8f4247d9371","size":1678,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.1.tgz"},"directories":{},"publish_time":1424670625610,"_cnpm_publish_time":1424670625610,"_hasShrinkwrap":false},"0.0.0":{"name":"git-latest-tag","version":"0.0.0","description":"Get the most recent git tag of your repository using git-describe(1)","homepage":"https://github.com/stevemao/git-latest-tag","author":{"name":"Steve Mao","email":"maochenyan@gmail.com"},"repository":{"type":"git","url":"https://github.com/stevemao/git-latest-tag"},"license":"MIT","files":["index.js"],"keywords":["git-latest-tag","recent","tag","git-describe"],"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"dependencies":{"lodash":"^3.3.0"},"gitHead":"25cb68f4d6cf95ec559ae0694aa11990174683b2","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"_id":"git-latest-tag@0.0.0","_shasum":"922e0b3d630ee2b4cdd2f925daebb984351f7ffd","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.12.0","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"922e0b3d630ee2b4cdd2f925daebb984351f7ffd","size":1676,"noattachment":false,"key":"/git-latest-tag/-/git-latest-tag-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-latest-tag/download/git-latest-tag-0.0.0.tgz"},"directories":{},"publish_time":1424670469982,"_cnpm_publish_time":1424670469982,"_hasShrinkwrap":false}},"readme":"#  [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image]\n\n> Get the most recent git tag of your repository using git-describe(1)\n\n\n## Install\n\n```sh\n$ npm install --save git-latest-tag\n```\n\n\n## Usage\n\n### Use a callback\n\n```js\nvar getLatestTag = require('git-latest-tag');\nvar options = {\n  all: 'ok',\n  contains: true,\n  candidates: 10,\n  'commit-ish': 'HEAD'\n};\n\ngetLatestTag(options, function(err, tag) {\n  console.log(tag);\n  //=> latestTag\n});\n```\n\n### Use as a readable stream\n\n```js\nvar getLatestTag = require('git-latest-tag');\nvar options = {\n  all: 'ok',\n  contains: true,\n  candidates: 10,\n  'commit-ish': 'HEAD'\n};\n\ngetLatestTag(options)\n  .pipe(...);\n```\n\n\n## API\n\n### getLatestTag([options], callback)\n\nReturns a readable stream.\n\n#### Options\n\nType: `object` or `boolean`\n\nOptions will be dash-cased for you.\n\nPlease check the available options at http://git-scm.com/docs/git-describe.\n\n*NOTE*: if a flag takes no value and the passed `options.value` is truthy, it will generate the flag only without any value. If it's falsy the flag will not be included.\n\nIf it's a `true`, it will suppress long format, only showing the closest tag in refs/tags namespace and will return an empty string if there is no tags but more than one commit (same as `{ tags: true, abbrev: 0 }`).\n\n#### callback(err, tag)\n\n\n## License\n\nMIT © [Steve Mao](https://github.com/stevemao)\n\n\n[npm-url]: https://npmjs.org/package/git-latest-tag\n[npm-image]: https://badge.fury.io/js/git-latest-tag.svg\n[travis-url]: https://travis-ci.org/stevemao/git-latest-tag\n[travis-image]: https://travis-ci.org/stevemao/git-latest-tag.svg?branch=master\n[daviddm-url]: https://david-dm.org/stevemao/git-latest-tag.svg?theme=shields.io\n[daviddm-image]: https://david-dm.org/stevemao/git-latest-tag\n","_attachments":{},"homepage":"https://github.com/stevemao/git-latest-tag","bugs":{"url":"https://github.com/stevemao/git-latest-tag/issues"},"license":"MIT"}