unserializable
v0.1.0
Published
Utilities for converting unserializable JavaScript objects and instances to serializable objects and vice versa.
Downloads
16
Maintainers
Readme
unserializable
Utilities for converting unserializable JavaScript objects and instances to serializable objects and vice versa.
Installation
npm install unserializable --save
Usage
This package exports the following:
unserializable
- An object containing functions that will convert a serializable value to its unserializable form based on itstype
key.serializable
- An object containing functions that will convert an unserializable value to its serializable form based on itstype
key.getType(value)
- Gets thetype
of some value if it's unserializable.
Currently, the following types are supported:
Feel free to submit pull requests for more types!