MonkeDev / haste-pls

An npm package to upload code to a hastebin

Home Page:https://haste.monkedev.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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");

About

An npm package to upload code to a hastebin

https://haste.monkedev.com

License:MIT License


Languages

Language:JavaScript 100.0%