# superagent-jsonapify

> A lightweight json-api client addon for superagent

Latest version **1.4.5** (published 2017-06-01) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install superagent-jsonapify
pnpm add superagent-jsonapify
yarn add superagent-jsonapify
bun add superagent-jsonapify
```

## 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.4.5 |
| Published | 2017-06-01 |
| First published | 2015-08-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alejandro Caravaca Puchades |
| Maintainers | alex94puchades |
| Keywords | superagent, jsonapify, jsonapi, json-api, json, api, rest, client |

## Links

- npm: https://www.npmjs.com/package/superagent-jsonapify
- Repository: https://github.com/alex94puchades/superagent-jsonapify
- Homepage: https://github.com/alex94puchades/superagent-jsonapify#readme
- Issues: https://github.com/alex94puchades/superagent-jsonapify/issues
- npm.io page: https://npm.io/package/superagent-jsonapify

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.16.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.4.5 (latest) — 2017-06-01
- 1.4.4 — 2017-02-13
- 1.4.3 — 2017-02-13
- 1.4.2 — 2016-09-30
- 1.4.1 — 2015-12-11
- 1.4.0 — 2015-10-25
- 1.3.0 — 2015-09-21
- 1.2.4 — 2015-09-21
- 1.2.3 — 2015-09-11
- 1.2.2 — 2015-09-11
- 1.2.1 — 2015-09-10
- 1.2.0 — 2015-09-10
- 1.1.0 — 2015-08-23
- 1.0.0 — 2015-08-19

## README

# superagent-jsonapify

[![NPM](https://nodei.co/npm/superagent-jsonapify.png?downloads=true)](https://nodei.co/npm/superagent-jsonapify/)

[![Dependencies](https://david-dm.org/alex94puchades/superagent-jsonapify.svg)](https://david-dm.org/alex94puchades/superagent-jsonapify)

A lightweight json-api client addon for superagent. If you don't know about [jsonapify](https://www.npmjs.com/package/jsonapify) or the [JSON-API format](http://jsonapi.org/format/), you should have a look.

## Usage

ES2015 style

```javascript
import superagent from 'superagent';
import superagentJsonapify from 'superagent-jsonapify';

superagentJsonapify(superagent);

const request = superagent.get('/api/videos?include=comments')
  .then(function(response) {
    const body = response.body;
    const video = body.data[0];
    const comments = video.comments;
  });
```

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