Provides some helper functions and serialization PropertySchemas for mobxjs/serializr - library
Can be used as a factory for serializr PropSchema to serialize Moment Objects.
/**
* A Timestamp as Moment.js object
*/
@serializable(MomentSerializationSchema())
timestamp: Moment;
With options:
/**
* A Timestamp as Moment.js object
*/
@serializable(
MomentSerializationSchema({
useUtc: true
})
)
timestamp: Moment;
All available options and their details could be read in
./src/lib/moment-serialization-options.ts
Takes a serializr annotated object and serializes directly to json without an intermediate js-object.
Takes a json string and a target class object and deserializes the string into the target class instance.
Alias for serializeToJson
Alias for deserializeFromJson
Alias for native serializr serialize()
function, to make the meaning less ambiguous
Alias for native serializr deserialize()
function, to make the meaning less ambiguous
- fix wallaby test running (problems with modern import syntax => current workaround: npm run test:watch)
mixu/minilog: A lighweight client & server logging lib with StreamApi backends
Docs URL: http://mixu.net/minilog/