node-hastebin

1.0.0 • Public • Published

node-hastebin

npm Version npm Downloads

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-hastebin

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      5.34 kB

      Total Files

      4

      Last publish

      Collaborators

      • moaufmklo