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

6 lines
145 B
JavaScript
Raw Permalink Normal View History

2023-02-23 15:38:30 +01:00
if (require.main === module) {
require('./lib/cli.js')(process)
} else {
throw new Error('The programmatic API was removed in npm v8.0.0')
}