paster.js
v1.0.0
Published
The official JS wrapper for paste.colem.dev
Downloads
12
Maintainers
Readme
Paster.js
The official JS wrapper for paste.colem.dev
Installation
Install with NPM
npm install paster.js
Install with Yarn
yarn install paster.js
Examples
Create a paste
const paster = require("paster.js");
const paste = await paster.create("paste content")
console.log(paste)
Fetch a paste
const paste = await paster.fetch('paste_id')
console.log(paste)