Skip to content

Instantly share code, notes, and snippets.

View BBlackwo's full-sized avatar

Benjamin B BBlackwo

View GitHub Profile
@BBlackwo
BBlackwo / index.js
Last active July 25, 2018 05:10 — forked from zkat/index.js
npx is cool
#!/usr/bin/env node
console.log('yay gist');
const { version, name } = require('./package.json');
console.log(version, name);
console.log(process.cwd());
console.log(__dirname);