# jetch

> fetch json the easy way

Latest version **1.0.3** (published 2018-09-14) · ISC license · 0 weekly downloads

## Install

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

## 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.3 |
| Published | 2018-09-14 |
| First published | 2018-09-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kyle Rose |
| Maintainers | g5devops |

## Links

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

## Recent versions

- 1.0.3 (latest) — 2018-09-14
- 1.0.2 — 2018-09-14
- 1.0.1 — 2018-09-14
- 1.0.0 — 2018-09-14

## README

# Jetch - fetch JSON

___________
A slightly easier way to fetch json

### Usage

```javascript
import jetch from 'jetch';

try {
  var json = await jetch('http://mydomain.com/endpoint.json');
} catch(failedResponse) {
  //do something with failedResponse
}
//do something with `json`
```

a failed response is any response that is not HTTP status code 200

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