Gathering detailed insights and metrics for available-versions
Gathering detailed insights and metrics for available-versions
Gathering detailed insights and metrics for available-versions
Gathering detailed insights and metrics for available-versions
all-node-versions
List all available Node.js versions
npm-package-versions
Get an array of all available versions of a given npm package
@statoscope/stats-extension-package-info
Statoscope extension for collecting package info (e.g. available versions)
nwjs-versions
Get all available nw.js versions.
Returns a promise with new versions higher than given for a npm module
npm install available-versions
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
19 Stars
155 Commits
1 Forks
1 Watchers
4 Branches
3 Contributors
Updated on Mar 20, 2025
Latest Version
0.14.28
Package Id
available-versions@0.14.28
Unpacked Size
29.05 kB
Size
9.40 kB
File Count
13
NPM Version
8.19.4
Node Version
20.18.0
Published on
Mar 20, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
13
Fetches new versions for a given NPM package higher than given version.
for Node >= 4
npm install -g available-versions
Installs several aliases, use any one you like available
, versions
, vers
or releases
What are all releases for library lazy-ass
?
releases lazy-ass
What are new releases after 1.0.0
?
releases lazy-ass@1.0.0
releases lazy-ass 1.0.0
The module always exits with 0, even if the NPM module was not found.
A table with versions, timestamps and relative age
1$ vers babel@6.1.15 2babel since 6.1.15 3-------------------------- 4version age dist-tag 5------- ------- -------- 66.1.16 a month 76.1.17 a month 86.1.18 a month 96.2.4 19 days 106.3.13 10 days stable
For most modules, it will also fetch release notes from GitHub, for example
1$ vers manpm@1.10.0 2manpm since 1.10.0 from git+https://github.com/bahmutov/manpm.git 3------------------------------------------------------------------------------------------------------------ 4version age release dist-tag 5------- -------- ------------------------------------------------------------------------------- -------- 61.10.1 8 months github: parsing github url (a00ed3e7) 71.10.2 6 months node5: testing on node 4 and 5, fixed get, (0ffdc31a, closes #22) 81.10.3 6 months node: supporting older versions of node without harmony, (88ef0a4d, closes #21) 91.10.4 6 months log: removed extra console log statement (30d2da81) 101.10.5 5 months deps: upgraded a lot of deps, trying to see if #23 is still broken (2ed9051e) 111.10.6 4 months readme: fixed getting readme by downgrading simple-get, (e7e15a25, closes #24) latest
The comments are clipped and cleaned up to be a single line, I recommend using semantic-release to make sure the output is useful.
You can use this module from other modules
var available = require('available-versions');
var query = {
name: 'deps-ok',
version: '0.1.0' // version is optional
};
available(query).then(function (result) {
console.log(result.name);
console.log(result.versions); // array of versions
});
You can also pass second argument to keep version cleanup error messages quiet
available(query, true) ...
Public and private NPM registries, GitHub (public) and GitLab
(public and private) servers. For private GitLab server, you should have
environment variable GITLAB_AUTH_TOKEN
set with your
personal access token.
1GITLAB_AUTH_TOKEN=xxxyyyy vers @org/my-module
I recommend using as-a to simplify using environment variables. In this case you would do something like this
1as-a gitlab vers @org/my-module
To debug this program, run it with DEBUG=vers
variable
DEBUG=vers releases chalk
Author: Gleb Bahmutov © 2014
License: MIT - do anything with the code, but don't blame me if it does not work.
Spread the word: tweet, star on github, etc.
Support: if you find any problems with this module, email / tweet / open issue on Github
Copyright (c) 2014 Gleb Bahmutov
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
98 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More