@uprtcl/documents
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@uprtcl/documents

This cortex module implements patterns, services and lenses to interact with document-like objects that are behave as Evees.

Documentation

Visit our documentation site.

Install

npm install @uprtcl/documents

Usage

Import the module, instantiate it with its appropiate configuration, and load it:

import { IpfsStore } from "@uprtcl/ipfs-provider";
import { DocumentsModule } from "@uprtcl/documents";

const ipfsStore = new IpfsStore({
  host: "ipfs.infura.io",
  port: 5001,
  protocol: "https",
});

const docs = new DocumentsModule([ipfsStore]);
await orchestrator.loadModule(docs);

To have update functionality, you also need to install the EveesModule.

Readme

Keywords

none

Package Sidebar

Install

npm i @uprtcl/documents

Homepage

uprtcl.io

Weekly Downloads

1

Version

0.2.1

License

BOOS-FL

Unpacked Size

791 kB

Total Files

61

Last publish

Collaborators

  • guillem.cordoba
  • pepoospina
  • sotous