Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

JSPaste/jspaste

Repository files navigation

jspaste

The official library to interact with JSPaste API

JS Standard

This package is deprecated

Due to organisation restructuring, this library is no longer functional. To continue using JSPaste you can refer an official list of available libraries here: https://github.com/jspaste/awesome-jspaste

Features

🔸 Right out the oven; Aligned to work with the latest and greatest features of ES2022 spec.
🔸 Compatibility; Native support for Bun and Node.js (ESM & CJS).
🔸 Ease of use; Gives you what you need when you need it, period.

Get started

Start building something awesome straight from your IDE, or if you prefer having all the documentation on a separate booklet, have a look at our documentation.

import { JSP } from 'jspaste'

const jsp = new JSP()
const { req, res } = await jsp.access('foobar')

console.info('Retrieved from:', req.resource) // Retrieved from: foobar
console.info('Retrieved data:', res.payload) // Retrieved data: Hello world!

About

The official library to interact with JSPaste API

Resources

License

Stars

Watchers

Forks