# vultrex.haste

> A module to post to hastebin and get from hastebin

Latest version **1.0.1** (published 2020-04-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install vultrex.haste
pnpm add vultrex.haste
yarn add vultrex.haste
bun add vultrex.haste
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-04-16 |
| First published | 2020-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 23.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vultrex Development |
| Maintainers | vultrex |

## Links

- npm: https://www.npmjs.com/package/vultrex.haste
- npm.io page: https://npm.io/package/vultrex.haste

## Recent versions

- 1.0.1 (latest) — 2020-04-16
- 1.0.0 — 2020-04-16

## README

# VultrexHaste

> A simple Hastebin wrapper for novices in node-fetch – developed with ♥ by Host#0001. Documentation by Host#0001.

## Installation
```bash
npm i vultrex.haste
npm i node-fetch
```
 
## Example usage

```javascript
const { VultrexHaste } = require("vultrex.haste");
const haste = new VultrexHaste({
    url: "https://hasteb.in"
});

// POST to Hastebin
haste.post("Lorem ipsum dolor sit amet")
    .then(url => console.log(url)) // Return the URL...
    .catch(err => console.log(err)); // Return an error...

// GET from Hastebin
haste.get("https://hastebin.com/raw/dhguygwyujw")
    .then(content => console.log(content)) // Return the content of the hastebin...
    .catch(err => console.log(err)); // Return an error...
```

---
_Source: https://npm.io/package/vultrex.haste · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
