moment-transit-caesarhu
v1.0.0
Published
transit-js handler for moment.js objects
Downloads
2
Readme
moment-transit
A library which enables Moment objects to be serialized by transit-js.
Usage
import moment from 'moment';
import { reader, writer } from 'moment-transit';
const serialized = writer.write(moment());
console.log(serialized);
const deserialized = reader.read(serialized);
console.log(deserialized);