An npm package to upload code to a pastbin.
const hastePls = require("haste-pls");
const bin = new hastePls()
const postBin = async (content) => {
bin.setContent(content);
const res = await bin.post();
console.log(res);
}
postBin("hello hastebin from haste-pls");