@ezs/storage v3.2.5
storage
Présentation
Ce plugin est propose une série d'instructions pour stocker et récuper des flux d'objets JSON
installation
npm install @ezs/storageusage
Table of Contents
cast
Take an Object and replace it with all the objects of the same domain contained in the store.
Warning: order is not guaranteed
Parameters
datafeeddomainString domain ID (same for all objects) (optional, defaultezs)cleanString clean all stored object after cast them (optional, defaultfalse)
Returns Object
load
With a String, containing a URI throw all the documents that match
Parameters
datafeedpathString path containing the object Identifier (optional, defaulturi)domainString domain ID (that should contains the uri input) (optional, defaultezs)targetString? choose the key to set
Returns String
save
Take Object, to save it into a store and throw an URL
Parameters
datafeedpathString path containing the object Identifier (optional, defaulturi)domainString domain ID (same for all objects) (optional, defaultezs)resetBoolean if the store already exists, you will erase all previous content (optional, defaultfalse)scoreBoolean if the object has already been saved, the current object will replace it if its score is higher (optional, defaultfalse)
Returns Object
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago