Skip to content

Dependency-free Node.js module to interact with HasteBin servers

License

Notifications You must be signed in to change notification settings

MoaufmKlo/node-hastebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --production

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.