# @dillonchr/fetch

> fetch like you do in browsers

Latest version **1.0.1** (published 2019-04-20) · GPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install @dillonchr/fetch
pnpm add @dillonchr/fetch
yarn add @dillonchr/fetch
bun add @dillonchr/fetch
```

## 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.1 |
| Published | 2019-04-20 |
| First published | 2019-04-18 |
| Weekly downloads | 0 |
| License | GPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @dillonchr |
| Maintainers | nightwind |

## Links

- npm: https://www.npmjs.com/package/@dillonchr/fetch
- Repository: https://github.com/dillonchr/fetch
- Homepage: https://github.com/dillonchr/fetch#readme
- Issues: https://github.com/dillonchr/fetch/issues
- npm.io page: https://npm.io/package/@dillonchr/fetch

## Recent versions

- 1.0.1 (latest) — 2019-04-20
- 1.0.0 — 2019-04-18

## README

# Fetch
I'm on a mission to minimize my dependencies so I decided to build something very small and simple
that can replicate the experience I'm used to in browsers with `fetch`. Maybe not the promised-based
bit but still, something from the core of node so that it doesn't have to extend my network of
trusted modules.

## Usage
```javascript
const fetch = require('@dillonchr/fetch');

fetch({
    url: 'https://bot.whatismyipaddress.com'
}, (err, body) => {
    if (err) {
        return console.log('Module must be broken, heh.');
    }
    console.log('Looking into the mirror, I can tell we're at', body);
});
```

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