1.0.0 • Published 3 years ago

node-hastebin v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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.