jimexist/bs-moment

BuckleScript bindings for Moment.js

Reason

54

85 commits

updated Jul 19, 2023

See the code

README

bs-moment

CI npm

BuckleScript bindings for Moment.js.

Status

This package is still 🚧 WIP 🚧, but new bindings are added as needed instead of actively. Feel free to create an issue or PR if you find anything missing.

Mutations

This binding takes an opinionated approach to mutations, e.g. moment().add, moment().startOf, and bind them with names like mutableAdd and mutableStartOf. To compensate that, there's an immutable version named add and startOf which takes a moment().clone first before applying the mutations.

Deprecations

Deprecated methods (e.g. moment().days in favor of moment().day) are not included in this binding.

bucklescript
bucklescript-bindings
javascript
moment
reason

Contributors

jimexist

47 commits

fakenickels

5 commits

tinkrtailor

4 commits

jimexist/bs-moment

BuckleScript bindings for Moment.js

Reason

54

85 commits

updated Jul 19, 2023

See the code

README

bs-moment

CI npm

BuckleScript bindings for Moment.js.

Status

This package is still 🚧 WIP 🚧, but new bindings are added as needed instead of actively. Feel free to create an issue or PR if you find anything missing.

Mutations

This binding takes an opinionated approach to mutations, e.g. moment().add, moment().startOf, and bind them with names like mutableAdd and mutableStartOf. To compensate that, there's an immutable version named add and startOf which takes a moment().clone first before applying the mutations.

Deprecations

Deprecated methods (e.g. moment().days in favor of moment().day) are not included in this binding.

bucklescript
bucklescript-bindings
javascript
moment
reason

Contributors

jimexist

47 commits

fakenickels

5 commits

tinkrtailor

4 commits

Languages

Reason

100.0%