Simple NPM module for generating hasteb.in links
npm install easy-hastebinnpm i easy-hastebin`Usage
`js
const haste = require('easy-hastebin');const myCrazyProgram = f=n=>n>1?f(n-1)+f(n-2):n;
// js file extension (default)
haste(myCrazyProgram).then(console.log);
// custom file extension
haste(myCrazyProgram, 'cpp').then(console.log);
// plaintext (no file extension)
haste(myCrazyProgram, null).then(console.log);
``