Table of contents
About
Dependency-free Node.js module to interact with HasteBin servers.
Installation
Use the package manager npm to install node-hastebin:
npm install node-hastebin
Usage
const Hastebin = require("./index.js");
const hastebin = new Hastebin();
hastebin.write("Hello, World!").then((key) => {
hastebin.read(key).then((data) => {
console.log(data);
});
});
Links
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.