paste.ee-wrapper
v1.0.2
Published
An easy Paste.ee API wrapper
Downloads
8
Readme
Pasteee - A Paste.ee NodeJS Wrapper
How to install:
npm install paste.ee-wrapper
How to use
//Imports the module
const Pasteee = require("Pasteee")
//Sets the token
const pasteee = new Pasteee("Your API Key here")
//Thats to set all the options. I made it in a variable because it looks better for the example
var options = {
content: "This is my Paste.ee content!",
description: "My fist paste",
name: "This is the paste Name",
syntax: "plain"
}
pasteee.paste(options, function (err, res, body) {
console.log(body)
})
Consider that this is my first npm package and my first NodeJS public project so it can have something wrong