leo / args

Toolkit for building command line interfaces
https://npmjs.com/args
MIT License
461 stars 30 forks source link

Update readme.md usage example use commonjs instead of es6 module import #139

Closed yuler closed 5 years ago

yuler commented 5 years ago

Use ES6 modules in Node.js need save file with .mjs extension and run it like:

node --experimental-modules my-app.mjs