pastebin-api

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

MIT License

Downloads
37.1K
Stars
28

Bot releases are hidden (Show)

pastebin-api - Release 2.3.0

Published by casperiv0 about 3 years ago

Changelog

  • feat: support use custom domain (Thanks @Zxilly)
pastebin-api - Release 2.2.0

Published by casperiv0 over 3 years ago

Changelog

  • refactor: use TypeError over Error where needed
  • refactor: use Promise.reject over throw Error where needed
  • refactor: remove unneeded ?. in discord bot example
  • chore: bump dependencies
  • chore: use actions/setup-node@v2 for CI
pastebin-api - Release 2.1.2

Published by casperiv0 over 3 years ago

Changelog

  • chore: bump dependencies
pastebin-api - Release 2.1.1

Published by casperiv0 over 3 years ago

Changelog

  • chore: bump dependencies
pastebin-api - Release 2.1.0

Published by casperiv0 over 3 years ago

Changelog

  • feat: allow CommonJS imports again
  • chore: use esbuild
pastebin-api - Release 2.0.4

Published by casperiv0 over 3 years ago

Changelog

  • chore: bump dependencies
pastebin-api - Release 2.0.3

Published by casperiv0 over 3 years ago

Changelog

  • Use custom ESLint config x2
pastebin-api - Release 2.0.2

Published by casperiv0 over 3 years ago

Changelog

  • Use custom ESLint config
pastebin-api - Release 2.0.1

Published by casperiv0 over 3 years ago

Changelog

  • new: able to import PasteClient via named exports (import { PasteClient } from "pastebin-api")
    • Old method still works too.
  • chore: replace type string with ApiPasteFormat for paste_format_short
  • chore: use Array.isArray instead of typeof
  • chore: update dependencies
pastebin-api - Release 2.0.0

Published by casperiv0 over 3 years ago

Changelog

BREAKING CHANGES:

- const PasteClient = require("pastebin-api").default;

+ import PasteClient from "pastebin-api";
pastebin-api - Release 1.0.6

Published by casperiv0 over 3 years ago

Changelog

fix: incorrect docs for PasteClient#deletePasteByKey

pastebin-api - Release 1.0.5

Published by casperiv0 over 3 years ago

Changelog

  • chore: Updated dependencies
  • chore: Added ESLint workflow file
  • chore: updated examples
pastebin-api - Release 1.0.4

Published by casperiv0 over 3 years ago

1.0.4

  • Updated dependencies
pastebin-api - Release 1.0.3

Published by casperiv0 over 3 years ago

1.0.3

  • Updated dependencies
pastebin-api - Release 1.0.2

Published by casperiv0 over 3 years ago

Changelog

  • Support for folderKey
  • Updated docs
pastebin-api - Release 1.0.1

Published by casperiv0 over 3 years ago

Changelog

  • Fixed issue with paste name (#7). Thanks Avatar @2colours
pastebin-api - Release 1.0.0

Published by casperiv0 over 3 years ago

Changelog

  • Creating a paste will now throw an error if name is longer than 100 characters
pastebin-api - Release 0.0.9

Published by casperiv0 over 3 years ago

Changelog

  • Added errors when not providing required data
  • Updated documentation
pastebin-api - Release 0.0.8

Published by casperiv0 over 3 years ago

Changelog

  • Added documentation
pastebin-api - Release 0.0.7

Published by casperiv0 over 3 years ago

Changelog

  • Added login, getPastesByUser and deletePasteByKey methods (docs to follow)
  • Updated TypeScript to 4.2.2
  • Added Changelog 🎉