json-storage-formatter 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# json-storage-
|
|
1
|
+
# json-storage-formatter
|
|
2
2
|
|
|
3
3
|
Package for json stringify objects without losing data types. The transformation of the data includes extra metadata into the resulted string which later on is used to restored all the data structures to the their origninal forms.
|
|
4
4
|
|
|
@@ -56,7 +56,7 @@ Format an object to be stored as JSON
|
|
|
56
56
|
|
|
57
57
|
## formatFromStore
|
|
58
58
|
|
|
59
|
-
Format
|
|
59
|
+
Format a value with possible metadata to his original form, it also supports Map, Set, Arrays
|
|
60
60
|
|
|
61
61
|
```TS
|
|
62
62
|
const object = formatFromStore(objectWithMetadata);
|