# ts-jsonapi

> JSON API (De) Serializer in Typescript

Latest version **2.1.3** (published 2020-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install ts-jsonapi
pnpm add ts-jsonapi
yarn add ts-jsonapi
bun add ts-jsonapi
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2020-03-24 |
| First published | 2016-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 41.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 54 |
| Author | Mohammad Umair Khan |
| Maintainers | mohuk |
| Keywords | typescript, jsonapi |

## Links

- npm: https://www.npmjs.com/package/ts-jsonapi
- Repository: https://github.com/mohuk/ts-jsonapi
- Homepage: https://github.com/mohuk/ts-jsonapi#readme
- Issues: https://github.com/mohuk/ts-jsonapi/issues
- npm.io page: https://npm.io/package/ts-jsonapi

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.16.4
- [inflected](https://npm.io/package/inflected.md) ^1.1.6

## 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

- 2.1.3 (latest) — 2020-03-24
- 2.1.2 — 2018-11-09
- 2.1.1 — 2018-10-21
- 2.1.0 — 2016-12-13
- 2.0.1 — 2016-10-18
- 2.0.0 — 2016-10-18
- 1.0.0 — 2016-10-18

## README

# ts-jsonapi
JSON API (De)Serializer in Typescript

[![CircleCI](https://circleci.com/gh/mohuk/ts-jsonapi/tree/master.svg?style=svg)](https://circleci.com/gh/mohuk/ts-jsonapi/tree/master)

Typescript fork from [jsonapi-serializer](https://github.com/SeyZ/jsonapi-serializer)

### Why create a fork when you could just have created type definitions?
[jsonapi-serializer](https://github.com/SeyZ/jsonapi-serializer) depends on the [bluebird](https://github.com/petkaantonov/bluebird) promise API which is no longer needed with the arrival of native promises. Also, there might not be any use of promises at all, so this might change in the future.

### test

Current implementation passes all tests from [jsonapi-serializer](https://github.com/SeyZ/jsonapi-serializer)

```bash
$ npm run test
```

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