1.0.2 • Published 1 year ago

paste.ee-wrapper v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago