Skip to content

Commit

Permalink
index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-fei committed Dec 28, 2019
1 parent ae2fa4b commit c4ac805
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env node

if (require.main === module) {
main()
} else {
module.exports = main
}

async function main () {
console.log('main')
}

0 comments on commit c4ac805

Please sign in to comment.