3.2.3 • Published 3 months ago

@ezs/storage v3.2.3

Weekly downloads
72
License
MIT
Repository
github
Last release
3 months ago

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/storage

usage

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

  • data
  • feed
  • domain String domain ID (same for all objects) (optional, default ezs)
  • clean String clean all stored object after cast them (optional, default false)

Returns Object

load

With a String, containing a URI throw all the documents that match

Parameters

  • data
  • feed
  • path String path containing the object Identifier (optional, default uri)
  • domain String domain ID (that should contains the uri input) (optional, default ezs)
  • target String? choose the key to set

Returns String

save

Take Object, to save it into a store and throw an URL

Parameters

  • data
  • feed
  • path String path containing the object Identifier (optional, default uri)
  • domain String domain ID (same for all objects) (optional, default ezs)
  • reset Boolean if the store already exists, you will erase all previous content (optional, default false)
  • score Boolean if the object has already been saved, the current object will replace it if its score is higher (optional, default false)

Returns Object

3.2.3

3 months ago

3.2.2

8 months ago

3.2.1

10 months ago

2.0.2

1 year ago

3.2.0

11 months ago

3.1.0

11 months ago

3.0.0

12 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.7.0

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.5.5

2 years ago

1.6.0

2 years ago

1.5.6

2 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.3

3 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago