1.0.2 • Published 10 years ago

catbox-json v1.0.2

Weekly downloads
57
License
-
Repository
github
Last release
10 years ago

catbox-json

Memory + JSON file adapter for catbox

Persists changes in a local JSON file, use only for development

Based on the catbox-memory module

Options

  • maxByteSize - sets an upper limit on the number of bytes that can be stored in the cached. Once this limit is reached no additional items will be added to the cache until some expire. The utilized memory calculation is a rough approximation and must not be relied on. Defaults to 104857600 (100MB).

  • saveDebounce - maximum write interval. Defaults to 500 (0.5s)

  • cacheFile - filename where JSON is written. Defaults to ./catbox.json

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago