smart-energy-monitor/software/flow/node_modules/npm/index.js

6 lines
145 B
JavaScript

if (require.main === module) {
require('./lib/cli.js')(process)
} else {
throw new Error('The programmatic API was removed in npm v8.0.0')
}