UNPKG
jdk
Version:
latest (0.0.0)
0.0.0
My own SDK for developing JavaScript projects
github.com/futagoza/jdk
futagoza/meg
jdk
/
index.js
9 lines
(6 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
var
nodeVersion = process.
version
if
(
parseInt
(nodeVersion.
charAt
(
1
)) <
6
) {
console
.
error
(
'JDK requires Node.js 6+, you are use Node.js '
+ nodeVersion) process.
exit
(
1
) }