orbit

Flexible data access and synchronization.

Github星跟蹤圖

Orbit Build Status Join the chat at https://gitter.im/orbitjs/orbit.js

Orbit is a composable data framework for managing the complex needs of today's
web applications.

Although Orbit is primarily used as a flexible client-side ORM, it can also
be used server-side in Node.js.

Orbit is designed for applications that need to:

  • Interact with data from a variety of sources: a REST server, a WebSocket
    stream, an IndexedDB backup, an in-memory store, etc.

  • Work offline, work online, and seamlessly transition between both modes.

  • Create optimistic and pessimistic user experiences (and even both in the same
    app).

  • Use a common schema to model data, regardless of its source.

  • Query and update data with a common set of expressions, understood across
    sources.

  • Track changes deterministically.

  • Fork immutable stores and then merge changes back if and when ready.

  • Support undo / redo.

Orbit is written in Typescript and distributed
on npm through the @orbit organization.
Pre-built distributions are provided in several module formats and ES language
levels.

Docs and Guides

Please visit orbitjs.com to learn how to make the
most of Orbit.

Contributing

Orbit's main packages are maintained in this monorepo and managed by
lerna.

Installation

Install dependencies:

yarn install

Building

Build distributions for all packages:

yarn build

Testing

Test all packages:

yarn test

Or cd into each package's dir and test it individually in the browser:

cd packages/@orbit/PACKAGE-NAME
yarn testem

License

Copyright 2014-2019 Cerebris Corporation. MIT License (see LICENSE for details).

主要指標

概覽
名稱與所有者orbitjs/orbit
主編程語言TypeScript
編程語言JavaScript (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2013-07-12 04:52:50
推送於2025-09-23 23:14:47
最后一次提交
發布數130
最新版本名稱v0.17.2 (發布於 2022-03-07 06:59:46)
第一版名稱0.1.0 (發布於 )
用户参与
星數2.3k
關注者數41
派生數135
提交數2.8k
已啟用問題?
問題數309
打開的問題數60
拉請求數587
打開的拉請求數9
關閉的拉請求數91
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?