1.0.7 • Published 3 years ago

node-strongmap v1.0.7

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
3 years ago

:dvd: StrongMap visitors+++ version

JavaScript Map meets your Hard Disk

API

Like Map

Naming the map?

const map = new StrongMap();
map.name('/dev/sda1`); // not smart
map.name('happy-map'); // more smart

Getting a named map?

const map = StrongMap();
map.name('/dev/sda1');
// it's a map

What else?

Nothing.

~## Why this?~

Design

  • sync file access (and use fsyncSync and fsyncdataSync)

Caveats

  • slow
  • inefficient
  • incomplete

How to set the root directory for maps?

map.root('path/to/where/i/store/my/dicts');
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago