# bs-moment

> BuckleScript bindings for Moment.js

Latest version **0.8.0** (published 2022-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install bs-moment
pnpm add bs-moment
yarn add bs-moment
bun add bs-moment
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.0 |
| Published | 2022-04-28 |
| First published | 2017-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 708.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jiayu Liu |
| Maintainers | chenglou, jimexist |
| Keywords | reason, bucklescript, moment, date, time |

## Links

- npm: https://www.npmjs.com/package/bs-moment
- Repository: https://github.com/Jimexist/bs-moment
- Homepage: https://github.com/Jimexist/bs-moment#readme
- Issues: https://github.com/Jimexist/bs-moment/issues
- npm.io page: https://npm.io/package/bs-moment

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.8.0 (latest) — 2022-04-28
- 0.7.0 — 2022-04-28
- 0.6.0 — 2020-06-12
- 0.5.1 — 2020-06-12
- 0.5.0 — 2020-06-12
- 0.4.5 — 2019-12-16
- 0.4.4 — 2019-02-17
- 0.4.3 — 2019-02-13
- 0.4.2 — 2019-01-27
- 0.4.1 — 2018-12-18
- 0.4.0 — 2018-12-07
- 0.3.2 — 2018-12-06
- 0.3.1 — 2018-08-28
- 0.3.0 — 2018-05-19
- 0.2.6 — 2018-05-18
- … 16 more at https://npm.io/package/bs-moment/versions

## README

# bs-moment

[![CI](https://github.com/Jimexist/bs-moment/actions/workflows/ci.yml/badge.svg)](https://github.com/Jimexist/bs-moment/actions/workflows/ci.yml)
[![npm](https://img.shields.io/npm/v/bs-moment.svg)](https://www.npmjs.com/package/bs-moment)

[BuckleScript](https://github.com/bloomberg/bucklescript) bindings for [Moment.js](https://momentjs.com/).

## 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.

---
_Source: https://npm.io/package/bs-moment · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
