1.6.1 • Published 8 years ago

offline-keeper v1.6.1

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

offline-keeper

NPM

Usage

See tests, the API is very basic

putOne(String, Buffer)

Returns a Q.Promise that resolves when the value is written to disk

getOne(String)

Returns a Q.Promise that resolves to a Buffer

removeOne(String)

Returns a Q.Promise that resolves when the corresponding value is erased from the disk

getMany(String, ...)

Returns a Q.Promise that resolves to an array with values (Buffer) and/or nulls, depending on if values exist on disk or not

clear

Deletes all stored values

close

Finish pending writes and die

1.6.1

8 years ago

1.6.0

8 years ago

1.5.1

8 years ago

1.5.0

9 years ago

1.4.2

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.0

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago