Skip to content

Instantly share code, notes, and snippets.

@piotros
Forked from emilio-martinez/README.md
Last active September 25, 2019 10:37
Show Gist options
  • Save piotros/3dae840e83e3f5837a732b16e381030c to your computer and use it in GitHub Desktop.
Save piotros/3dae840e83e3f5837a732b16e381030c to your computer and use it in GitHub Desktop.

Basic npx script template.

#!/usr/bin/env node
const chalk = require('chalk');
console.log(chalk.bold('All systems are go'));
{
"name": "npx-script-template",
"version": "0.0.0",
"bin": "./index.js",
"dependencies": {
"chalk": "latest"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment