Global

Methods

create(guardopt, configopt) → {Store}

Parameters:
Name Type Attributes Default Description
guard String <optional>
'script'
config Object <optional>
Properties
Name Type Attributes Default Description
manual Boolean <optional>
false

Only persists on call to .persist

jsons Boolean <optional>
true

Converts the objects with JSOn.stringify

paths Array.<String> <optional>
[]

List of strings that passed in object that should be kept

Source:
Example
const store = ObjectStore();
const store = ObjectStore('user');
const store = ObjectStore('script' {manual: true});