amis-rpc-design/node_modules/npm/index.js

6 lines
145 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
if (require.main === module) {
require('./lib/cli.js')(process)
} else {
throw new Error('The programmatic API was removed in npm v8.0.0')
}