0.2.1 • Published 2 years ago

hyperpubee-backend v0.2.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

HyperPubee Backend

A small layer on top of hyperpubee to facilitate persistence. It is built around a simple database which keeps track of your published works.

Warning: this library is still in alfa, and there are likely to be breaking changes before it reaches v1.0.0.

Install

npm add hyperpubee-backend

Usage

There are two relevant config variables:

  • dbConnectionStr
  • corestoreLoc

dbConnectionStr defines the location of the sqlite db which stores the hypercore metadata.

corestoreLoc defines the location of the corestore which stores the actual hypercores.

The defaults are:

  • dbConnectionStr: ./hyperpubee.db,
  • corestoreLoc: ./my-hyperpubees

See https://www.npmjs.com/package/rc?activeTab=readme for how to pass config values. The app name is 'hyperpubee'

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago