Skip to content

Instantly share code, notes, and snippets.

@Kevnz
Forked from zkat/index.js
Last active August 31, 2017 04:49
Show Gist options
  • Save Kevnz/7eb5b675e7525f2a25c1d26e16bee616 to your computer and use it in GitHub Desktop.
Save Kevnz/7eb5b675e7525f2a25c1d26e16bee616 to your computer and use it in GitHub Desktop.
npx is cool

Hi!

try passing the URL for this gist to npx.

#!/usr/bin/env node
const asciify = require('asciify');
asciify('NPX', function(err, res){ console.log(res);
console.log('yay gist')
console.log('Hi Auckland Node.JS Meetup')
});
{"name": "npx-is-cool", "version": "0.0.1", "bin": "./index.js", "dependencies": {"asciify": "*" } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment