0.4.2 • Published 2 years ago

primate-file-store v0.4.2

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 years ago

Primate file store

This store module facades file-system operations, allowing you to work with files.

Installing

npm install primate-file-store

Using

Import the module and instance a store with path (path to directory).

import FileStore from "primate-file-store";
export default new FileStore({"path": "/tmp/file-store"});

A collection in this store is a directory within the path and documents are represented by subdirectories. Fields are each saved as files, with File types streamed out and mirroring the ending of the original file, while all other fields are stored as text files with no ending.

License

BSD-3-Clause

0.4.1

2 years ago

0.4.2

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago