{"_id":"tagged-versions","_rev":"7-d5f0f4e13fd00e3fe6f72d002f133d10","name":"tagged-versions","description":"Get tagged semver-compatible project versions","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"tagged-versions","version":"1.0.0","description":"Get tagged semver-compatible project versions","main":"src/index.js","directories":{"test":"test"},"scripts":{"validate":"./node_modules/eslint/bin/eslint.js src","test":"ava --verbose","watch":"ava --watch","coverage":"nyc ava"},"repository":{"type":"git","url":"git+https://github.com/ikhemissi/tagged-versions.git"},"keywords":["tags","versions","semver","git","hash"],"author":{"name":"Iheb Khemissi","email":"iheb.khemissi@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ikhemissi/tagged-versions/issues"},"homepage":"https://github.com/ikhemissi/tagged-versions#readme","config":{"commitizen":{"path":"./node_modules/rb-conventional-changelog"}},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.14","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.15.0","nyc":"^8.3.0","rb-conventional-changelog":"^1.1.9","sinon":"^1.17.6"},"dependencies":{"child-process-promise":"^2.1.3","semver":"^5.3.0"},"gitHead":"9c5d6e1930831431c005bc74543f61a5cb36d617","_id":"tagged-versions@1.0.0","_shasum":"f3896fb8406fd06d39bf8156c721227b9348e161","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"dist":{"shasum":"f3896fb8406fd06d39bf8156c721227b9348e161","tarball":"https://registry.npmjs.org/tagged-versions/-/tagged-versions-1.0.0.tgz","integrity":"sha512-cA+Y6KJf59rZ2RC45ISJKivOxYGCZhubgxu2l9Cspptm25VFj88Bjjukbu5dKFq7S1GPPLyGI4SedjpHoE4lBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyKrD2oBoiO1Gtu/Yvb9VYNW14D1Bj+BmXrEveJGzUEAiEA3IjExOacovI6zQsv+fjPtKRGiLbC4e8nrf+PvuZ2xfs="}]},"maintainers":[{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tagged-versions-1.0.0.tgz_1474930610900_0.7046520176809281"}},"1.1.0":{"name":"tagged-versions","version":"1.1.0","description":"Get tagged semver-compatible project versions","main":"src/index.js","directories":{"test":"test"},"scripts":{"validate":"./node_modules/eslint/bin/eslint.js src","test":"nyc ./node_modules/.bin/ava --verbose","watch":"ava --watch","coverage":"nyc ava"},"repository":{"type":"git","url":"git+https://github.com/ikhemissi/tagged-versions.git"},"keywords":["tags","versions","semver","git","hash"],"author":{"name":"Iheb Khemissi","email":"iheb.khemissi@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ikhemissi/tagged-versions/issues"},"homepage":"https://github.com/ikhemissi/tagged-versions#readme","config":{"commitizen":{"path":"./node_modules/rb-conventional-changelog"}},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.14","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.15.0","nyc":"^8.3.0","rb-conventional-changelog":"^1.1.9","sinon":"^1.17.6"},"dependencies":{"child-process-promise":"^2.1.3","semver":"^5.3.0"},"gitHead":"61fca7630fbe863f8d890d7a33e9b45f786d79e8","_id":"tagged-versions@1.1.0","_shasum":"adc369621511ae26a61d9ab9a5e54192d3d8bd17","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"dist":{"shasum":"adc369621511ae26a61d9ab9a5e54192d3d8bd17","tarball":"https://registry.npmjs.org/tagged-versions/-/tagged-versions-1.1.0.tgz","integrity":"sha512-ADu2f7ZIjxgwaGUSrlAFiSxlVNUcouDB35zDcR95XzDHe+0euhXj9iMOPVNQKpIs44fvZeWcUABVKKVCLVt7SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZhxL+WyRIJodcr2bfSFtqmEzaXg8fjfURVwoCoHQGLAiBUMqHRYqfxl0s+UHBKU/ZiuaAnk4zBJIxDfmfpUl9x/g=="}]},"maintainers":[{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/tagged-versions-1.1.0.tgz_1475012219956_0.5488595925271511"}},"1.1.1":{"name":"tagged-versions","version":"1.1.1","description":"Get tagged semver-compatible project versions","main":"src/index.js","directories":{"test":"test"},"scripts":{"validate":"./node_modules/eslint/bin/eslint.js src","test":"nyc ./node_modules/.bin/ava --verbose","watch":"ava --watch","coverage":"nyc ava"},"repository":{"type":"git","url":"git+https://github.com/ikhemissi/tagged-versions.git"},"keywords":["tags","versions","semver","git","hash"],"author":{"name":"Iheb Khemissi","email":"iheb.khemissi@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ikhemissi/tagged-versions/issues"},"homepage":"https://github.com/ikhemissi/tagged-versions#readme","config":{"commitizen":{"path":"./node_modules/rb-conventional-changelog"}},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.14","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.15.0","nyc":"^8.3.0","rb-conventional-changelog":"^1.1.9","sinon":"^1.17.6"},"dependencies":{"child-process-promise":"^2.1.3","semver":"^5.3.0"},"gitHead":"cd88316d6976ce8878a90a1a6d4eb326d16a4d68","_id":"tagged-versions@1.1.1","_shasum":"ed4f3d58373aa0b08002e586d787e25cdf3c5a95","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"dist":{"shasum":"ed4f3d58373aa0b08002e586d787e25cdf3c5a95","tarball":"https://registry.npmjs.org/tagged-versions/-/tagged-versions-1.1.1.tgz","integrity":"sha512-n5DXZn1yHzwdjVtHaBqoCW4q7imOYoqnAeCXP5StLcpSldrfHq3AN7yZEA4Wy8B35qHgn3srmuKFUsiLErNvvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbHQ8BkIIpHCVJR7gYwpDbd8tcO2fec8I8bbJZvUIfdAiBVbcVORqpbWhFXMKPdOkjNLyt9Z8VKfrM2HnCm1+V/5A=="}]},"maintainers":[{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tagged-versions-1.1.1.tgz_1475339743288_0.9631912345066667"}},"1.2.0":{"name":"tagged-versions","version":"1.2.0","description":"Get tagged semver-compatible project versions","main":"src/index.js","directories":{"test":"test"},"scripts":{"validate":"./node_modules/eslint/bin/eslint.js src","test":"nyc ./node_modules/.bin/ava --verbose","watch":"ava --watch","coverage":"nyc ava"},"repository":{"type":"git","url":"git+https://github.com/ikhemissi/tagged-versions.git"},"keywords":["tags","versions","semver","git","hash"],"author":{"name":"Iheb Khemissi","email":"iheb.khemissi@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ikhemissi/tagged-versions/issues"},"homepage":"https://github.com/ikhemissi/tagged-versions#readme","config":{"commitizen":{"path":"./node_modules/rb-conventional-changelog"}},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.14","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.15.0","nyc":"^8.3.0","rb-conventional-changelog":"^1.1.9","sinon":"^1.17.6"},"dependencies":{"child-process-promise":"^2.1.3","semver":"^5.3.0"},"gitHead":"6ed75edca43f0ed6b3c0e4b63ebc8c749168003d","_id":"tagged-versions@1.2.0","_shasum":"3cc492ac8b1ae56a6adc0ecfbaf67451343c36fe","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"dist":{"shasum":"3cc492ac8b1ae56a6adc0ecfbaf67451343c36fe","tarball":"https://registry.npmjs.org/tagged-versions/-/tagged-versions-1.2.0.tgz","integrity":"sha512-iPAKL1wjjxw2QMkOGi3rqqkbaxTzC4IyF6nexNSK9LQpCDr5/AkwWqzWu/ttVjO2bdYQ4tSC1H016MdCmw1Ilg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYxzfoaZE3kcgQtE2Z9+i2yz5W7DvGnXEQkObQLQeQTwIhANAjIGiXkD8woW9gXEuXlpffiR8WH8EFjpRUTmZDcAlZ"}]},"maintainers":[{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/tagged-versions-1.2.0.tgz_1475927183373_0.5433051188010722"}},"1.3.0":{"name":"tagged-versions","version":"1.3.0","description":"Get tagged semver-compatible project versions","main":"src/index.js","directories":{"test":"test"},"scripts":{"validate":"./node_modules/eslint/bin/eslint.js src","test":"nyc ./node_modules/.bin/ava --verbose","watch":"ava --watch","coverage":"nyc ava"},"repository":{"type":"git","url":"git+https://github.com/ikhemissi/tagged-versions.git"},"keywords":["tags","versions","semver","git","hash"],"author":{"name":"Iheb Khemissi","email":"iheb.khemissi@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ikhemissi/tagged-versions/issues"},"homepage":"https://github.com/ikhemissi/tagged-versions#readme","config":{"commitizen":{"path":"./node_modules/rb-conventional-changelog"}},"devDependencies":{"ava":"^0.16.0","coveralls":"^2.11.14","eslint":"^3.5.0","eslint-config-airbnb-base":"^7.1.0","eslint-plugin-import":"^1.15.0","nyc":"^8.3.0","rb-conventional-changelog":"^1.1.9","sinon":"^1.17.6"},"dependencies":{"child-process-promise":"^2.1.3","semver":"^5.3.0"},"gitHead":"13db0b95928daac282a050abc8929fa0e8e4a78e","_id":"tagged-versions@1.3.0","_shasum":"fd3cca176859817b95b1f5d311a12c9c08c8bdc4","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"},"dist":{"shasum":"fd3cca176859817b95b1f5d311a12c9c08c8bdc4","tarball":"https://registry.npmjs.org/tagged-versions/-/tagged-versions-1.3.0.tgz","integrity":"sha512-3tkBqKKQzHkBhQyNvEHTWgbvvNVS9a9omiR9nfbWlWzpOpWfgEPUu9pHwBiDHt5mXnJXKVnRKdCSeJiuZYW9oQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEYi5SZq2H73tZZkiS8Bdg5xEiA/dpqv3BIAMVc+T62AiAgiuCqJJKM8YQA/2TXe09cQslV8cmX6/oszA739ZIMAg=="}]},"maintainers":[{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tagged-versions-1.3.0.tgz_1484889587366_0.9291555876843631"}}},"readme":"# tagged-versions\n\n> Get tagged semver-compatible project versions [{ version, tag, hash, date }]\n\n[![Build Status][travis-badge]][travis-link]\n[![Coverage Status][coveralls-badge]][coveralls-link]\n[![NPM version][shields-badge]][npm-link]\n\n## Installation\n```sh\nnpm install tagged-versions --save\n```\n\nSupported Node versions: 5+\n\n## Usage\n\n### All project versions\nReturn all the tagged project versions:\n```javascript\nconst taggedVersions = require('tagged-versions');\nreturn taggedVersions.getList()\n  .then(versions => console.log(versions));\n\n// [\n//   { version: '1.2.0', tag: 'v1.2.0', hash: 'f6bf448b02c489c8676f2eeaaac72ef93980baf2', date: <Date> },\n//   { version: '1.1.1', tag: 'v1.1.1', hash: 'b656238b0fc2502b19bd0e803eb87447840dc52a', date: <Date> },\n//   { version: '1.1.0', tag: 'v1.1.0', hash: '1d56b88b0fc2585ffaf43e416b87440667c3c53f', date: <Date> },\n//   { version: '1.0.0', tag: 'v1.0.0', hash: '06743d3f902b19bd0e802e40462d87ba2b05740d', date: <Date> },\n// ]\n```\n\nYou can optionally filter versions with a [semver range](https://github.com/npm/node-semver#advanced-range-syntax):\n```javascript\nconst taggedVersions = require('tagged-versions');\nreturn taggedVersions.getList('^1.1.0')\n  .then(versions => console.log(versions));\n\n// [\n//   { version: '1.2.0', tag: 'v1.2.0', hash: 'f6bf448b02c489c8676f2eeaaac72ef93980baf2', date: <Date> },\n//   { version: '1.1.1', tag: 'v1.1.1', hash: 'b656238b0fc2502b19bd0e803eb87447840dc52a', date: <Date> },\n//   { version: '1.1.0', tag: 'v1.1.0', hash: '1d56b88b0fc2585ffaf43e416b87440667c3c53f', date: <Date> },\n// ]\n```\n\nOr with a [revision range](https://git-scm.com/docs/revisions#_specifying_ranges):\n```javascript\nconst taggedVersions = require('tagged-versions');\nreturn taggedVersions.getList({rev: 'v1.1.0..v1.2.0'})\n  .then(versions => console.log(versions));\n\n// [\n//   { version: '1.2.0', tag: 'v1.2.0', hash: 'f6bf448b02c489c8676f2eeaaac72ef93980baf2', date: <Date> },\n//   { version: '1.1.1', tag: 'v1.1.1', hash: 'b656238b0fc2502b19bd0e803eb87447840dc52a', date: <Date> }\n// ]\n```\n\n### Last project version\nReturn the last tagged project version:\n```javascript\nconst taggedVersions = require('tagged-versions');\nreturn taggedVersions.getLastVersion()\n  .then(versions => console.log(version));\n\n// {\n//   version: '1.2.0',\n//   tag: 'v1.2.0',\n//   hash: 'f6bf448b02c489c8676f2eeaaac72ef93980baf2',\n//   date: new Date('2016-10-08T10:47:01.000Z')\n// }\n```\n\nLike with `getList`, you can also filter with a [semver range](https://github.com/npm/node-semver#advanced-range-syntax):\n```javascript\nconst taggedVersions = require('tagged-versions');\nreturn taggedVersions.getLastVersion('~1.1')\n  .then(versions => console.log(version));\n\n// {\n//   version: '1.1.1',\n//   tag: 'v1.1.1',\n//   hash: 'b656238b0fc2502b19bd0e803eb87447840dc52a',\n//   date: new Date('2016-10-01T16:34:24.000Z')\n// }\n```\n\n## Contributing\nPlease follow the [Airbnb guidelines](https://github.com/airbnb/javascript) and commit your changes with [commitzen](https://www.npmjs.com/package/commitizen) using `git cz`.\n\n[travis-badge]: https://travis-ci.org/ikhemissi/tagged-versions.svg?branch=master\n[travis-link]: https://travis-ci.org/ikhemissi/tagged-versions\n[coveralls-badge]: https://coveralls.io/repos/github/ikhemissi/tagged-versions/badge.svg?branch=master\n[coveralls-link]: https://coveralls.io/github/ikhemissi/tagged-versions?branch=master\n[shields-badge]: https://img.shields.io/npm/v/tagged-versions.svg\n[npm-link]: https://www.npmjs.com/package/tagged-versions\n","maintainers":[{"name":"ikhemissi","email":"iheb.khemissi@gmail.com"}],"time":{"modified":"2022-06-27T03:38:10.544Z","created":"2016-09-26T22:56:52.888Z","1.0.0":"2016-09-26T22:56:52.888Z","1.1.0":"2016-09-27T21:37:00.533Z","1.1.1":"2016-10-01T16:35:45.007Z","1.2.0":"2016-10-08T11:46:23.988Z","1.3.0":"2017-01-20T05:19:48.058Z"},"homepage":"https://github.com/ikhemissi/tagged-versions#readme","keywords":["tags","versions","semver","git","hash"],"repository":{"type":"git","url":"git+https://github.com/ikhemissi/tagged-versions.git"},"author":{"name":"Iheb Khemissi","email":"iheb.khemissi@gmail.com"},"bugs":{"url":"https://github.com/ikhemissi/tagged-versions/issues"},"license":"MIT","readmeFilename":"README.md"}