Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imoment

An immutable wrapper around momentjs.

Install moment since it's a peer depenency of imoment

npm install --save moment

Install imoment

npm install --save imoment

Use imoment as a drop-in replacement for moment. E.g.

import imoment from 'imoment';

const im1 = imoment();
const im2 = im1.add(7, 'days');

console.log(im1.isSame(im2)); // should print out 'false'

About

An immutable wrapper around momentjs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages