@l1/b3
v3.5.0-beta.103
Published
Node.js client library for using Databook B3.
Downloads
78
Readme
B3 Javascript SDK
Databook™ (B3) is the L1™ central database for all indexable data. B3 store data as objects and links.
Welcome to B3
B3 is similar to a graph database. Designed to treat the relationships between data as equally important to the data itself. The database holds data without constricting it to a pre-defined model. Instead, the data is stored like we first draw it out – showing how each entity connects with or is related to others.
B3 Elements
Objects are the entities in the database. They can hold any number of attributes (key-value pairs) called properties.
Links provide directed, named, semantically-relevant connections between two node objects (e.g. npmjs.com OWNED BY npm, Inc). A link always has a direction, a kind, a start node, and an end node. Like objects, links also have fixed properties, such as weights, clearance, source, creation and expiry dates. Due to the efficient way of storing links, two objects can share any number or type of links without sacrificing performance. Although they are stored in a specific direction, relationships can always be navigated efficiently in either direction.
Usage
import {v3b4 as B3} from '@l1/b3';
const b3 = new B3({ apiKey: XXXXX });