moment-transit

1.0.0 • Public • Published

Build Status

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);

Readme

Keywords

none

Package Sidebar

Install

npm i moment-transit

Weekly Downloads

11

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ianks