Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8
A very simple pastebin npm package to interact with the pastebin api!
License
NotificationsYou must be signed in to change notification settings
casperiv0/pastebin-api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
# npmnpm install pastebin-api# Yarnyarn add pastebin-api# pnpmpnpm add pastebin-api
Note >
pastebin-apirequires node.js version 14 or higher.
// src/main.jsimport{PasteClient,Publicity,ExpireDate}from"pastebin-api";// const { PasteClient, Publicity, ExpireDate } = require("pastebin-api"); // using CommonJS// Tip: load dev key from a `.env` fileconstclient=newPasteClient("DEV_KEY_HERE");/* ... */
You can checkout the documentation here
All stars/forks are appreciated! ⚡
Feel free to open a pull request with a new feature.
Made with ❤️ and TypeScript!
About
A very simple pastebin npm package to interact with the pastebin api!
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.