haste-pls
v1.0.3
Published
An npm package to upload code to a hastebin
Downloads
10
Readme
haste-pls
An npm package to upload code to a pastbin.
Example
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");