Skip to content

Instantly share code, notes, and snippets.

@tdantas
Last active Mar 7, 2016
Embed
What would you like to do?
using npm with gist
module.exports = console.log.bind(console, 'hello world');
{
"name": "gist-hello-world",
"version": "1.0.1"
}
@tdantas
Copy link
Author

tdantas commented Mar 7, 2016

NPM

npm install git:gist.github.com/tdantas/3fa70ab8846bb91d0288

Coding

const hello = require('gist-hello-world');
hello();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment