{"analyzedAt":"2022-07-14T23:22:42.153Z","collected":{"metadata":{"name":"npm-get-version","scope":"unscoped","version":"1.0.2","description":"Utility to get the version of an npm package going back N versions from a specified tag.","keywords":["npm","version"],"date":"2018-07-21T18:34:02.102Z","author":{"name":"Guy Lichtman"},"publisher":{"username":"glicht","email":"guy@guylichtman.com"},"maintainers":[{"username":"glicht","email":"guy@guylichtman.com"}],"repository":{"type":"git","url":"git+https://github.com/glicht/npm-get-version.git"},"links":{"npm":"https://www.npmjs.com/package/npm-get-version","homepage":"https://github.com/glicht/npm-get-version#readme","repository":"https://github.com/glicht/npm-get-version","bugs":"https://github.com/glicht/npm-get-version/issues"},"license":"MIT","devDependencies":{"@types/chai":"^4.1.3","@types/lodash":"^4.14.109","@types/mocha":"^5.2.0","@types/node":"^6.0.110","chai":"^4.1.2","coveralls":"^3.0.1","mocha":"^5.2.0","nyc":"^11.8.0","rimraf":"^2.6.2","source-map-support":"^0.5.6","standard-version":"^4.3.0","ts-node":"^6.0.3","tslint":"^5.10.0","typescript":"^2.8.3"},"releases":[{"from":"2022-06-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0},{"from":"2022-04-15T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":1},{"from":"2022-01-15T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":1},{"from":"2021-07-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":1},{"from":"2020-07-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":1}],"hasTestScript":true,"hasSelectiveFiles":true,"readme":"NPM Get Version\n===============\n\n[![npm package][npm-image]][npm-url] \n[![Build Status][travis-image]][travis-url] \n[![Coverage Status][coveralls-image]][coveralls-url] \n[![Dependencies Status][david-image]][david-url]\n\nSmall utility to get the version of an npm package going back `N` versions from a specified tag. Can be used via command line or api. Will invoke `npm info` to get package information. Assumes npm executable is available (should be on the PATH). \n\nCommand line syntax for specifying desired package and version:\n```\nnpm-get-version <package_name>@<tag>~<N>\n```\nWhere N specifies the number of versions back. Pre-release versions are ignored when invoked from command line. Will return:\n```\n<package_name>@<version>\n```\nExample:\n```\nnpm-get-version babel@latest~3\nbabel@6.5.0\n```\n\nUsage via api example:\n```javascript\nconst {convertNpmVersion} = require('npm-get-version');\nconsole.log(convertNpmVersion('babel@latest~3')); // babel@6.5.0\n```\n\n## Installation\nInstall locally:\n```\nnpm install npm-get-version\n```\nOr install globally:\n```\nnpm install -g npm-get-version\n```\n\n**Note**: Node 6.10 or higher runtime required.\n\n[npm-image]:https://img.shields.io/npm/v/npm-get-version.svg\n[npm-url]:http://npmjs.org/package/npm-get-version\n[travis-image]:https://travis-ci.org/glicht/npm-get-version.svg?branch=master\n[travis-url]:https://travis-ci.org/glicht/npm-get-version\n[david-image]:https://david-dm.org/glicht/npm-get-version/status.svg\n[david-url]:https://david-dm.org/glicht/npm-get-version\n[coveralls-image]:https://coveralls.io/repos/github/glicht/npm-get-version/badge.svg?branch=master\n[coveralls-url]:https://coveralls.io/github/glicht/npm-get-version?branch=master"},"npm":{"downloads":[{"from":"2022-07-13T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0},{"from":"2022-07-07T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":28},{"from":"2022-06-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":111},{"from":"2022-04-15T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":657},{"from":"2022-01-15T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":1129},{"from":"2021-07-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":1387}],"starsCount":0},"github":{"starsCount":1,"forksCount":6,"subscribersCount":1,"issues":{"count":0,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":false},"contributors":[{"username":"glicht","commitsCount":18}],"commits":[{"from":"2022-07-07T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0},{"from":"2022-06-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0},{"from":"2022-04-15T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0},{"from":"2022-01-15T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0},{"from":"2021-07-14T00:00:00.000Z","to":"2022-07-14T00:00:00.000Z","count":0}],"statuses":[{"context":"coverage/coveralls","state":"success"},{"context":"continuous-integration/travis-ci/push","state":"success"}]},"source":{"files":{"readmeSize":1695,"testsSize":1537,"hasChangelog":true},"badges":[{"urls":{"original":"https://img.shields.io/npm/v/npm-get-version.svg","shields":"https://img.shields.io/npm/v/npm-get-version.svg","content":"https://img.shields.io/npm/v/npm-get-version.json"},"info":{"service":"npm","type":"version","modifiers":{"type":"v"}}},{"urls":{"original":"https://travis-ci.org/glicht/npm-get-version.svg?branch=master","service":"https://api.travis-ci.org/glicht/npm-get-version.svg?branch=master","shields":"https://img.shields.io/travis/glicht/npm-get-version/master.svg","content":"https://img.shields.io/travis/glicht/npm-get-version/master.json"},"info":{"service":"travis","type":"build","modifiers":{"branch":"master"}}},{"urls":{"original":"https://david-dm.org/glicht/npm-get-version/status.svg","service":"https://david-dm.org/glicht/npm-get-version/status.svg","shields":"https://img.shields.io/david/glicht/npm-get-version/status.svg","content":"https://img.shields.io/david/glicht/npm-get-version/status.json"},"info":{"service":"david","type":"dependencies","modifiers":{"statusType":"normal"}}},{"urls":{"original":"https://coveralls.io/repos/github/glicht/npm-get-version/badge.svg?branch=master","service":"https://coveralls.io/repos/github/glicht/npm-get-version/badge.svg?branch=master","shields":"https://img.shields.io/coveralls/glicht/npm-get-version/master.svg","content":"https://img.shields.io/coveralls/glicht/npm-get-version/master.json"},"info":{"service":"coveralls","type":"coverage","modifiers":{"branch":"master"}}}],"linters":["tslint"],"coverage":0.98}},"evaluation":{"quality":{"carefulness":0.9999999999999999,"tests":0.997,"health":1,"branding":0.6},"popularity":{"communityInterest":9,"downloadsCount":219,"downloadsAcceleration":0.5930555555555557,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.66803050037502,"detail":{"quality":0.9991466283481032,"popularity":0.0523663428154432,"maintenance":0.9998808339576686}}}