UNPKG

is-node-modern

Version:

Detects if node is modern, with helpful command line tools

8 lines (5 loc) 131 B
#!/usr/bin/env node var isModern = require('./') , threshold = process.argv[2] ; process.exit(isModern(threshold) ? 1 : 0);