pastebin-api
A very simple npm package to interact with the pastebin api.
Features
- Create pastes with all the available API data
- Fetch the raw contents of a paste
- Fetch pastes from the authenticated user via a user login
- Delete pastes from the authenticated user via a user login
Installation
npm install pastebin-api
yarn add pastebin-api
pnpm add pastebin-api
Note > pastebin-api
requires node.js version 14 or higher.
Usage
import { PasteClient, Publicity, ExpireDate } from "pastebin-api";
const client = new PasteClient("DEV_KEY_HERE");
Documentation
You can checkout the documentation here
Support
All stars/forks are appreciated! ⚡
Feel free to open a pull request with a new feature.
Made with ❤️ and TypeScript!
License
MIT © Dev-CasperTheGhost