{"id":23391445,"url":"https://github.com/ahrefs/melange-moment","last_synced_at":"2026-02-16T15:32:21.092Z","repository":{"id":186892578,"uuid":"657226045","full_name":"ahrefs/melange-moment","owner":"ahrefs","description":"Melange bindings for Moment.js","archived":false,"fork":false,"pushed_at":"2024-10-25T17:06:21.000Z","size":809,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-01T08:22:34.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Reason","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahrefs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-22T15:34:03.000Z","updated_at":"2024-10-25T17:06:26.000Z","dependencies_parsed_at":"2023-10-20T16:33:12.409Z","dependency_job_id":"64e4392f-e53a-416d-bc26-100c909cc677","html_url":"https://github.com/ahrefs/melange-moment","commit_stats":null,"previous_names":["ahrefs/melange-moment"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ahrefs/melange-moment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-moment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-moment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-moment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-moment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahrefs","download_url":"https://codeload.github.com/ahrefs/melange-moment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahrefs%2Fmelange-moment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29511543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-22T04:17:28.600Z","updated_at":"2026-02-16T15:32:21.067Z","avatar_url":"https://github.com/ahrefs.png","language":"Reason","funding_links":[],"categories":[],"sub_categories":[],"readme":"# melange-moment\n\n[Melange](https://melange.re) bindings for [Moment.js](https://momentjs.com/).\n\nBased on [bs-moment](https://github.com/Jimexist/bs-moment).\n\n## Status\n\nThis 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.\n\n## Installation\n\nInstall [opam](https://opam.ocaml.org/) package manager.\n\nThen:\n\n```bash\nopam install melange-moment\n```\n\nThe bindings support the following versions of the `moment`\nnpm package, which should be installed separately:\n\n```json\n  \"dependencies\": {\n    \"moment\": \"^2.26.0\"\n  }\n```\n\n## Setup\n\nAdd `melange-moment` to the `libraries` field in your `dune` file:\n\n```clojure\n; ...\n  (libraries melange-moment)\n; ...\n```\n\n## Mutations\n\nThis 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.\n\n## Deprecations\n\nDeprecated methods (e.g. `moment().days` in favor of `moment().day`) are not included in this binding.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahrefs%2Fmelange-moment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahrefs%2Fmelange-moment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahrefs%2Fmelange-moment/lists"}