UNPKG
npm-check
Version:
latest (6.0.1)
6.0.1
5.9.2
5.9.1
5.9.0
5.8.0
5.7.1
5.7.0
5.6.0
5.5.2
5.5.1
5.5.0
5.4.5
5.4.4
5.4.3
5.4.2
5.4.0
5.3.0
5.2.3
5.2.2
5.2.1
5.2.0
5.1.3
5.1.2
5.1.1
5.1.0
5.0.3
5.0.2
5.0.1
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.2.10
3.2.9
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.0.0
2.0.0
1.0.2
1.0.0
0.0.4
0.0.3
0.0.2
0.0.1
Check for outdated, incorrect, and unused dependencies.
github.com/dylang/npm-check
dylang/npm-check
npm-check
/
bin
/
cli.js
10 lines
(8 loc)
•
182 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env node
var
isEs2015;
try
{ isEs2015 =
new
Function
(
'() => {}'
); }
catch
(e) { isEs2015 =
false
; } isEs2015 ?
require
(
'../lib/cli'
) :
require
(
'../lib-es5/cli'
);