4.0.5 ā¢ Published 8 months ago
npm-check-git v4.0.5
npm-check-git
Scans for outdated git dependencies.
Usage
As an example, we'll test if npm/libnpm is up to date.
npm i npm-check-git github:npm/libnpm#latest
To test programatically:
import { getOutdated, checkDependency } from 'npm-check-git'
;(async () => {
/**
* To check 1 specific package
*/
await checkDependency(
//package name
'libnpm',
// *Optional* branch or commit ref (defaults to installed version)
'latest'
) // true | false
/**
* To check all depdencies in your package.json
*/
for await (const outdated of getOutdated()) {
console.info(outdated)
}
})()
Or using the CLI:
$> npm-check-git check --package libnpm
ā
libnpm is up to date
$> npm-check-git outdated
libnpm is out of date
4.0.5
8 months ago
4.0.4
8 months ago
4.0.1
8 months ago
4.0.3
8 months ago
4.0.2
8 months ago
4.0.0
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
3 years ago
1.0.3
3 years ago
2.2.0
3 years ago
2.1.0
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago