Module @tomic/lib

@tomic/lib Documentation

Core typescript library for handling JSON-AD parsing, storing Atomic Data, signing Commits, and more.

github repository

Features

  • Fetching Atomic Data
  • Parsing JSON-AD
  • Storing Atomic Data
  • Data Validation
  • Creating and signing Commit

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.

Index

Modules

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

Generated using TypeDoc