Data
A uniform interface for domain data (deprecated)
Install / Use
/learn @substance/DataREADME
Substance.Data
No longer maintained. Use http://github.com/substance/substance instead.
Substance.Data is a data representation framework for Javascript. It's being developed in the context of Substance, an open publishing platform.
With Substance.Data you can:
- Model your domain data using a simple graph-based object model that can be serialized to JSON.
- Traverse your graph, including relationships using a simple API.
- Manipulate and query data on the client (browser) or on the server (Node.js) by using exactly the same API.
Features
Data.Graph(A data abstraction for all kinds of linked data)- Persistence (You can persist your data to a Data.Store)
- Operational Transformation (for incremental updates)
- Versioning (Every graph operation is remembered and can be reverted)
Install
Using the latest NPM release
$ npm install substance-data
Or clone from repository
$ git clone https://github.com/substance/data
$ cd data
$ npm install
For running the testsuite, make sure you have mocha installed
sudo npm install -g mocha
Run the tests
npm test
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
