@ember-data/json-api
Version:
Provides a JSON:API document and resource cache implementation for EmberData
55 lines (41 loc) • 2.88 kB
Markdown
<p align="center">
<img
class="project-logo"
src="./logos/logo-yellow-slab.svg"
alt="WarpDrive"
width="180px"
title="WarpDrive"
/>
</p>



[](https://discord.gg/zT3asNS
)
[](https://discord.gg/PHBbnWJx5S
)
<p align="center">
<br>
<a href="https://warp-drive.io">WarpDrive</a> is the lightweight data library for web apps —
<br>
universal, typed, reactive, and ready to scale.
<br/><br/>
</p>
---
# @ember-data/json-api
<p align="center">Elegantly composable. Made for <strong>JSON:</strong>API</p>
> [!WARNING]
> **⚠️ This package only exists for backwards compatibility**
>
> Newer apps should use [@warp-drive/json-api](https://warp-drive.io/api/@warp-drive/json-api/) for the cache and [@warp-drive/utilities](https://warp-drive.io/api/@warp-drive/utilities/)
> for the builders it provided.
This package provides an in-memory document and resource [Cache](https://warp-drive.io/api/@warp-drive/core/types/cache/interfaces/Cache) and associated utilities for use with [***Warp*Drive**](https://warp-rive.io) and [{json:api}](https://jsonapi.org/).
This package is intended for use with the older EmberData package setup, for use with more recent versions of WarpDrive see [@warp-drive/json-api](https://www.npmjs.com/package/@warp-drive/json-api) for the Cache and [@warp-drive/utilities](https://www.npmjs.com/package/@warp-drive/utilities) for the builders.
`{json:api}` excels at simplifying common complex problems around cache consistency and information density, especially in regards to relational or polymorphic data.
Because most API responses can be quickly transformed into the `{json:api}` format without losing any information, ***Warp*Drive** recommends that most-if-not-all apps should use this Cache implementation.
**Tagged Releases**
- 
- 
- 
- 
- 