Momento
Immutable moment.js with composable functions and partial application of data
Installation
$ npm install momento
Example with Ramda pipe
const nextWeek =
Functions
add
Same as moment.add()
format
Same as moment.format()
getMilliseconds
Same as moment.milliseconds()
getSeconds
Same as moment.seconds()
now
Same as moment() without arguments
parse
Same as moment() with two arguments
parseISO
Same as moment() with one argument
parseUnix
Same as moment.unix()
subtract
Same as moment.subtract()
Missing a function?
Fell free to send a Pull Request! ❤️