# @nimbu/api

> A thin abstraction layer for the Nimbu API for modern browsers

Latest version **0.1.0** (published 2020-11-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nimbu/api
pnpm add @nimbu/api
yarn add @nimbu/api
bun add @nimbu/api
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2020-11-12 |
| First published | 2020-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 137.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Zenjoy Engineering |
| Maintainers | wouterh, dedene |

## Links

- npm: https://www.npmjs.com/package/@nimbu/api
- npm.io page: https://npm.io/package/@nimbu/api

## Recent versions

- 0.1.0 (latest) — 2020-11-12

## README

# Thin abstraction layer for the Nimbu API for modern browsers

When we say "modern browsers" we mean a browser with:

- `window.Promise`:
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
- `window.fetch`: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
- `window.FormData`: https://developer.mozilla.org/en-US/docs/Web/API/FormData

Polyfilling these on older browsers will also work.

The files distributed in the package are compiled to ES6. If you need support for older browsers,
you need to configure your packager to compile files in `node_modules` to ES5.

This library is written in TypeScript and provides bundled type declarations for usage with
TypeScript.


## Usage with node

To use this library with node, insert the following before requiring this library:

```
const fetch = require('node-fetch');
const FormData = require('form-data');
global.fetch = fetch;
global.FormData = FormData;
```

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