An API to communicate with paste.ee (Unoffical)
npm install pastee-api
let Pastee = new PasteeAPI('YOUR TOKEN');
Pastee.paste({"contents" : "What ever you want", "name": "A new Paste", "expire": 100}).then(res => {
}).catch(err => {
});
- contents - The content of the Paste (Required)
- name - The name of the paste (Not Required)
- expire - The time in seconds (Not Required)
- id - the id of the paste
- link - link to the paste
- success - true or false