@l1/b3
TypeScript icon, indicating that this package has built-in type declarations

3.5.0-beta.103 • Public • Published

L1 logo

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 });

Readme

Keywords

Package Sidebar

Install

npm i @l1/b3

Homepage

l1.ltd/b3/

Weekly Downloads

0

Version

3.5.0-beta.103

License

Apache-2.0

Unpacked Size

55.1 kB

Total Files

14

Last publish

Collaborators

  • l1c