This package has been deprecated

Author message:

This package is deprecated, read more here: https://github.com/jspaste/jspaste#this-package-is-deprecated

jspaste
TypeScript icon, indicating that this package has built-in type declarations

10.1.1 • Public • Published

jspaste

The official library to interact with JSPaste API

JS Standard

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!

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i jspaste

    Weekly Downloads

    6

    Version

    10.1.1

    License

    MIT

    Unpacked Size

    9.24 kB

    Total Files

    6

    Last publish

    Collaborators

    • inetol
    • tnfangel