Skip to content

Commit 4bc4b53

Browse files
yulerntwcklng
authored andcommitted
Update readme.md usage example use commonjs instead of es6 module import (#139)
1 parent c7a0882 commit 4bc4b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Once you're done, you can start using it within your binaries:
2727
```js
2828
#!/usr/bin/env node
2929

30-
import args from 'args'
30+
const args = require('args')
3131

3232
args
3333
.option('port', 'The port on which the app will be running', 3000)

0 commit comments

Comments
 (0)