Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Repository files navigation

LicenseDownloads

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

# npmnpm install pastebin-api# Yarnyarn add pastebin-api# pnpmpnpm add pastebin-api

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

Usage

// 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");/* ... */

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 © Casper Iversen

About

A very simple pastebin npm package to interact with the pastebin api!

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Contributors5


    [8]ページ先頭

    ©2009-2025 Movatter.jp