You'll probably want to start by initializing a Store. Use methods
from the Store to load Resources. Use the Resource class to access,
edit and validate the data in a Resource. Use Resource.save() to save and
send edits to resources as Commits, or use the Commit class if you
need more control.
@tomic/lib Documentation
Core typescript library for handling JSON-AD parsing, storing Atomic Data, signing Commits, and more.
github repository
Features
Usage
You'll probably want to start by initializing a Store. Use methods from the Store to load Resources. Use the Resource class to access, edit and validate the data in a Resource. Use
Resource.save()
to save and send edits to resources as Commits, or use the Commit class if you need more control.Usage with react
See
@tomic/react
, which provides various hooks for easy data usage.