1.0.10 • Published 4 years ago

@thepuzzlemaker/dbpmstore v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

DBPMStore - Database Plus In-Memory Store

Dynamic, Cached Memory Store

DBPMStore is a storage system using a database plus an in-memory cached version of that database to speed up and simplify database operations. It is also extendable, meaning you are not confined to one database type, as you can either use an existing driver or code your own. It allows CRUD (Create, Read, Update, Delete) using three major functions: DBPMStorage.set(key, value), DBPMStorage.get(key), and DBPMStorage.unset(key). Keys must be strings but values can be any JSON/String-serializable type.

DBPMStore is written in TypeScript, compiled to JavaScript (ES6), compatible with (most) of the latest versions of NodeJS. It also includes type definitions, so you can use import within TypeScript files.

It is recommended to create drivers in TypeScript, as the type definitions as well as TypeScript typing make it much easier to create class inheritance as well as in-editor code completion and errors for missing functions.

All DBPMStorage functions are asynchronous and therefore return promises.

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago