1.4.3 • Published 2 months ago

hollowdb v1.4.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Installation

To install HollowDB:

yarn add hollowdb     # yarn
npm install hollowdb  # npm
pnpm add hollowdb     # pnpm

Depending on your use-cases, we have several optional dependencies:

Usage

You can read the full documentation of HollowDB at https://docs.hollowdb.xyz.

!NOTE

If you are interested in customizing the smart contract of HollowDB and extending its SDKs, refer to this README.

Examples

Check out the examples folder for a few examples of HollowDB usage:

  • Simple: a single JS file that demonstrates getting & setting a key.
  • Micro: a Vercel Micro backend that can serves HollowDB as API endpoints, useful when you want to use HollowDB from another language.

Testing

You can run all tests via:

pnpm test

Tests operate on a local Arweave instance using arlocal. They will run for all cache types (LMDB, Redis, LevelDB). You will need to have a Redis server running for some of the tests to pass, the URL shall be specified here.

Styling

You can check the formatting of the code or lint everything with the following commands:

pnpm format # prettier
pnpm lint   # eslint
1.4.3

2 months ago

1.4.2

2 months ago

1.4.1

3 months ago

1.4.0

4 months ago

1.3.5

4 months ago

1.3.4

5 months ago

1.3.3

5 months ago

1.3.2

6 months ago

1.3.1

6 months ago

1.3.0

6 months ago

1.2.4

10 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

12 months ago

1.2.0

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago