# procket

> Make requests easy

Latest version **1.0.4** (published 2019-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install procket
pnpm add procket
yarn add procket
bun add procket
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-06-11 |
| First published | 2019-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mark Likhtar |
| Maintainers | mark.likhtar |

## Links

- npm: https://www.npmjs.com/package/procket
- Repository: https://github.com/marik0201/procket
- Homepage: https://github.com/marik0201/procket#readme
- Issues: https://github.com/marik0201/procket/issues
- npm.io page: https://npm.io/package/procket

## Recent versions

- 1.0.4 (latest) — 2019-06-11
- 1.0.3 — 2019-06-10
- 1.0.2 — 2019-06-10
- 1.0.1 — 2019-06-10
- 1.0.0 — 2019-06-10

## README

Procket it's a promise based HTTP client for the browser and node.js for HTTP requests.

---

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install this package.

```bash
npm install procket
```

---

## Usage

```javascript
import procket from "procket";

const procket = new Procket();

procket.get("url");
procket.get("url", {
  header: { "Content-Type": "application/json" },
  timeout: 20 * 1000
}); //with headers and timeout

procket.post("url", { name: "John" });
procket.post(
  "url",
  { name: "John" },
  {
    header: { "Content-Type": "application/json" },
    timeout: 20 * 1000
  }
); //with headers and timeout

procket.put("url", { name: "John" });
procket.put(
  "url",
  { name: "John" },
  {
    header: { "Content-Type": "application/json" },
    timeout: 20 * 1000
  }
); //with headers and timeout

procket.delete("url", { name: "John" });
procket.delete(
  "url",
  { name: "John" },
  {
    header: { "Content-Type": "application/json" },
    timeout: 20 * 1000
  }
); //with headers and timeout
```

## License

[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)

Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.

**[MIT license](http://opensource.org/licenses/mit-license.php)**

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