The official JS wrapper for paste.colem.dev
Install with NPM
npm install paster.js
Install with Yarn
yarn install paster.js
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)