JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 235
  • Score
    100M100P100Q99323F
  • License MIT

BuckleScript bindings for Moment.js

Package Exports

  • bs-moment

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bs-moment) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bs-moment

Build Status 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.