@oldendev/mson
v1.0.1
Published
JS code serialization library compatible with NodeJS vm
Downloads
3
Readme
MSON
Js code serialization library. Supports js native types. Stringify a func or an object to be compatible with NodeJS vm module. Server to server use. Not for client.
v1.0.0 Features:
stringify
- stringifies a jscode to compatible format with Node.js vm moduleparse
- parses a jscode string in to object or function withMetarhia/metavm
modulestringFrom
- an object that has methods equal to js types. Map serrialized as an object. Set as an array. For number, boolean and bigint one method called primitives
This library is for internal use with Metarhia/impress
application server