All Projects → Dev-CasperTheGhost → pastebin-api

Dev-CasperTheGhost / pastebin-api

Licence: MIT license
A very simple pastebin npm package to interact with the pastebin api!

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to pastebin-api

SourceBin
💻 Sharing code made easy
Stars: ✭ 48 (+140%)
Mutual labels:  pastebin, hastebin
imperial
Official mono-repo for https://imperialb.in/
Stars: ✭ 35 (+75%)
Mutual labels:  pastebin, hastebin
haste-client
CLI client for haste-server (hastebin.com) written in Python
Stars: ✭ 13 (-35%)
Mutual labels:  pastebin, hastebin
pastebin-bot
Advanced functional Pastebin Telegram Bot made using better-pastebin and TelegrafJS. This bot will help you to create pastes (Texts) on Pastebin which is a text cloud.
Stars: ✭ 16 (-20%)
Mutual labels:  pastebin, pastebin-api
Jawbreaker
A Python obfuscator using HTTP Requests and Hastebin.
Stars: ✭ 50 (+150%)
Mutual labels:  pastebin, hastebin
Dogbin
The sexiest pastebin and url shortener ever
Stars: ✭ 237 (+1085%)
Mutual labels:  pastebin
awesome-pastebin
List of pastebin sites.
Stars: ✭ 58 (+190%)
Mutual labels:  pastebin
Phorkie
Self-hosted pastebin software written in PHP. Pastes are editable, forkable, may have multiple files and are stored in git repositories.
Stars: ✭ 203 (+915%)
Mutual labels:  pastebin
Purritobin
ultra fast, minimalistic, encrypted command line paste-bin
Stars: ✭ 171 (+755%)
Mutual labels:  pastebin
pastelyst
A Web Paste Tool built with Cutelyst and KDE Frameworks
Stars: ✭ 19 (-5%)
Mutual labels:  pastebin
bin
highly opinionated, minimal pastebin
Stars: ✭ 97 (+385%)
Mutual labels:  pastebin
piu.clj
Simple pastebin
Stars: ✭ 14 (-30%)
Mutual labels:  pastebin
rentry
Markdown pastebin from command line
Stars: ✭ 252 (+1160%)
Mutual labels:  pastebin
hastebin-bot
An opensource bot for Discord that posts data to Hastebin
Stars: ✭ 22 (+10%)
Mutual labels:  hastebin
Paste
Paste is a project that started from the files pastebin.com used before it was bought.
Stars: ✭ 204 (+920%)
Mutual labels:  pastebin
shelf.gg
A pastebin to find and share useful resources 📚
Stars: ✭ 29 (+45%)
Mutual labels:  pastebin
Cardpwn
OSINT Tool to find Breached Credit Cards Information
Stars: ✭ 187 (+835%)
Mutual labels:  pastebin
uranus
[W.I.P] An ecosystem of crawlers for detecting: leaks, sensitive data exposure and attempts exfiltration of data
Stars: ✭ 22 (+10%)
Mutual labels:  pastebin
dpaste
The Django project driving dpaste.org
Stars: ✭ 424 (+2020%)
Mutual labels:  pastebin
nnmm
A super tiny pastebin/url minifier "microservice"
Stars: ✭ 77 (+285%)
Mutual labels:  pastebin

pastebin-api

License Downloads

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
npm install pastebin-api

# Yarn
yarn add pastebin-api

# pnpm
pnpm add pastebin-api

Note > pastebin-api requires node.js version 14 or higher.

Usage

// src/main.js
import { PasteClient, Publicity, ExpireDate } from "pastebin-api";
// const { PasteClient, Publicity, ExpireDate } = require("pastebin-api").default; // using CommonJS

// Tip: load dev key from a `.env` file
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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].