ember-data
TypeScript icon, indicating that this package has built-in type declarations

5.4.1 • Public • Published

EmberData EmberData


EmberData is a lightweight data library for web apps —
universal, typed, reactive, and ready to scale.

NPM Stable Version NPM Downloads License Docs Discord Community Server


[!TIP] EmberData is going universal and rebranding as WarpDrive with support for any signals based reactive framework!

This means you may already see some references to WarpDrive.

EmberData provides features that make it easy to build scalable, fast, feature rich application — letting you ship better experiences more quickly without re-architecting your app or API. EmberData is:

  • ⚡️ Committed to Best-In-Class Performance
  • 💚 Typed
  • ⚛️ Works with any API
  • 🌲 Focused on being as tiny as possible
  • 🚀 SSR Ready
  • 🔜 Seamless reactivity in any framework
  • 🐹 Built with ♥️ by Ember

Tagged Releases

  • NPM Canary Version
  • NPM Beta Version
  • NPM Stable Version
  • NPM LTS Version
  • NPM LTS 4.12 Version

Quick Links

Basic Installation

Install using your javascript package manager of choice. For instance with pnpm

pnpm add ember-data

ember-data is installed by default for new applications generated with ember-cli. You can check what version is installed by looking in the devDependencies hash of your project's package.json file.

If you have generated a new Ember application using ember-cli but do not wish to use ember-data, remove ember-data from your project's package.json file and run your package manager's install command to update your lockfile.

Advanced Installation

EmberData is organized into primitives that compose together via public APIs. These primitives are organized into small packages encapsulating these boundaries. These packages declare peer-dependencies (sometimes optional peer dependencies) on the other EmberData/WarpDrive packages they require use of.

Some EmberData APIs are older than others, and these still interop via well-defined public API boundaries but are no longer the ideal approach.

  • @ember-data/model provides a class-based approach to declaring schemas for reactive data.
  • @ember-data/legacy-compat provides support for the older adapter/serializer request paradigm that is being phased out
  • @ember-data/adapter provides various network API integrations for APIs built over specific REST or {JSON:API} conventions.
  • @ember-data/serializer provides an approach to normalizing and serializing data to and from an API format into the {JSON:API} format.

And finally:

  • ember-data is a "meta" package which bundles many of these together for convenience in a "legacy" configuration.

License

This project is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i ember-data

Weekly Downloads

87,631

Version

5.4.1

License

MIT

Unpacked Size

1.55 MB

Total Files

112

Last publish

Collaborators

  • ember-data-admin
  • runspired
  • hjdivad
  • rwjblue
  • stefanpenner
  • bmac
  • fivetanley
  • dgeb
  • igort
  • kellyselden
  • heroiceric
  • richgt
  • hm_krystan