1.0.6 • Published 5 years ago
hastebin-post v1.0.6
hastebin-post
An unofficial https://www.hastebin.com/ library for easier hastebin making
Requirements
The only current requirement is superagent. I am working to wipe the requirement, yet for now, it requires superagent.
NPM Installation
Stable release:npm i --save hastebin-post superagent
Or for GitHub development version:npm i --save MainUserDrive/hastebin-post visionmedia/superagent
Yarn Installation
yarn add hastebin-post
Usage
Required lib.post('string to post')
Example
const hastebin = require("hastebin-post"); // npm install hastebin-post
hastebin("string");
or
const hastebin = require("hastebin-post"); // npm install hastebin-post
...(in an async function)
await hastebin("string");
License
MIT Copyright 2018 MainUserDrive