This package has been deprecated

Author message:

Please use hastebin-gen

@abai/hastebin
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@abai/hastebin

@abai/hastebin is an asynchronous module for creating hastebins https://yarn.pm/@abai/hastebin

Installation

yarn add @abai/hastebin

Usage

import hastebin from '@abai/hastebin';

hastebin('your code here', { extension: 'txt' /* not required */ })
  .then((haste) => {
    console.log(haste); // https://hastebin.com/example.txt
  })
  .catch((error) => {
    console.error(error);
  });

(c) 2019-present Aiden Bai

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i @abai/hastebin

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.67 kB

Total Files

7

Last publish

Collaborators

  • abai