{"id":8120676,"url":"https://github.com/hasundue/molt","last_synced_at":"2025-07-25T03:31:51.539Z","repository":{"id":195898538,"uuid":"693555318","full_name":"hasundue/molt","owner":"hasundue","description":"Update dependencies the Deno way","archived":false,"fork":false,"pushed_at":"2024-08-07T05:41:35.000Z","size":517,"stargazers_count":68,"open_issues_count":11,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-16T15:29:03.981Z","etag":null,"topics":["deno","dependencies"],"latest_commit_sha":null,"homepage":"https://jsr.io/@molt","language":"TypeScript","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/hasundue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"hasundue","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-09-19T09:01:17.000Z","updated_at":"2024-08-07T19:32:14.000Z","dependencies_parsed_at":"2023-12-18T00:48:45.875Z","dependency_job_id":"11accaa5-c839-468f-af85-9475a00e5a42","html_url":"https://github.com/hasundue/molt","commit_stats":null,"previous_names":["hasundue/deno-molt","hasundue/molt"],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasundue%2Fmolt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasundue%2Fmolt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasundue%2Fmolt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasundue%2Fmolt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasundue","download_url":"https://codeload.github.com/hasundue/molt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227511103,"owners_count":17782624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["deno","dependencies"],"created_at":"2024-04-17T23:18:51.957Z","updated_at":"2025-07-25T03:31:51.003Z","avatar_url":"https://github.com/hasundue.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hasundue"],"categories":["Tools"],"sub_categories":[],"readme":"# 🦕 Molt\n\n[![JSR](https://jsr.io/badges/@molt)](https://jsr.io/badges/@molt)\n[![CI](https://github.com/hasundue/molt/actions/workflows/ci.yml/badge.svg)](https://github.com/hasundue/molt/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/github/hasundue/molt/graph/badge.svg?token=NhpMdDRNxy)](https://codecov.io/github/hasundue/molt)\n\n\u003e [!IMPORTANT]\n\u003e Now Deno has a built-in command to update dependencies (`deno outdated --update`) as of v2.1.\\\n\u003e It is recommended to use that instead, if you manage your dependencies in `deno.json(c)`.\n\n![demo](https://github.com/user-attachments/assets/119c6a86-8f14-4b0b-81ee-a747bbbe4d3f)\n\nMolt is a project to provide Deno modules and a CLI to manage dependencies in\nDeno projects. Inspired by [udd], but built from scratch with different design\nprinciples:\n\n**The Deno way** - Internal logics of the Deno runtime are reused as much as\npossible, through the [deno_graph] and [deno_lockfile] crates, etc.\n\n**Module-first** - The core features are provided as Deno modules, which enables\nyou to write the best scripts for your use cases.\n\n**Git-friendly** - The operations can be easily divided into logical groups for\nsubsequent git commits.\n\n## Features\n\nMolt can update to dependencies written in different formats. URL imports,\n`npm:` and `jsr:` specifiers are all supported:\n\n#### ES modules\n\n```diff\n- import { copy } from \"https://deno.land/std@0.222.0/bytes/copy.ts\";\n+ import { copy } from \"https://deno.land/std@0.224.0/bytes/copy.ts\";\n...\n```\n\n#### Import maps\n\n```diff\n  {\n    \"imports\": {\n-     \"std/\": \"https://deno.land/std@0.222.0/\",\n+     \"std/\": \"https://deno.land/std@0.224.0/\",\n      \"@luca/flag\": \"jsr:@luca/flag@^1.0.0\",\n-     \"@conventional-commits/parser\": \"npm:@conventional-commits/parser@^0.3.0\"\n+     \"@conventional-commits/parser\": \"npm:@conventional-commits/parser@^0.4.0\"\n    }\n  }\n```\n\n#### Lock files\n\n```diff\n  {\n    \"version\": \"3\",\n    \"packages\": {\n      \"specifiers\": {\n-       \"jsr:@luca/flag@^1.0.0\": \"jsr:@luca/flag@1.0.0\",\n-       \"npm:@conventional-commits/parser@^0.3.0\": \"npm:@conventional-commits/parser@0.3.0\"\n+       \"jsr:@luca/flag@^1.0.0\": \"jsr:@luca/flag@1.0.1\",\n+       \"npm:@conventional-commits/parser@^0.3.0\": \"npm:@conventional-commits/parser@0.4.1\"\n      },\n      \"jsr\": {\n-       \"@luca/flag@1.0.0\": {\n-         \"integrity\": \"1c76cf54839a86d0929a619c61bd65bb73d7d8a4e31788e48c720dbc46c5d546\"\n+       \"@luca/flag@1.0.1\": {\n+         \"integrity\": \"dce7eb4159b1bdb1606fe05c2e5388dcff5ae3b0b84184b934bc623143742408\"\n        }\n      },\n      ...\n```\n\n\u003e [!NOTE]\\\n\u003e Molt uses a similar versioning strategy as `increase-if-necessary` in\n\u003e `dependabot` to bump version ranges[^1].\n\n## Packages and documentation\n\n### [@molt/cli]\n\n[![JSR](https://jsr.io/badges/@molt/cli)](https://jsr.io/@molt/cli)\n[![JSR](https://jsr.io/badges/@molt/cli/score)](https://jsr.io/@molt/cli/score)\n\nA CLI to update dependencies, supposed to be the entry point for most users.\n\n### [@molt/core]\n\n[![JSR](https://jsr.io/badges/@molt/core)](https://jsr.io/@molt/core)\n[![JSR](https://jsr.io/badges/@molt/core/score)](https://jsr.io/@molt/core/score)\n\nDeno modules to collect and manipulate dependencies and updates.\n\n### [@molt/integration]\n\n[![JSR](https://jsr.io/badges/@molt/integration)](https://jsr.io/@molt/integration)\n[![JSR](https://jsr.io/badges/@molt/integration/score)](https://jsr.io/@molt/integration/score)\n\nModules to integrate Molt with thrid-party platforms.\n\n### [@molt/lib]\n\n[![JSR](https://jsr.io/badges/@molt/lib)](https://jsr.io/@molt/lib)\n[![JSR](https://jsr.io/badges/@molt/lib/score)](https://jsr.io/@molt/lib/score)\n\nGeneral-purpose utilities developed for Molt, but may be used independently.\n\n## Integration\n\n### [molt-action](https://github.com/hasundue/molt-action)\n\nA GitHub Action to create pull requests for dependency updates.\n\n## Compatibility with registries\n\nWe check compatibility with various registries in\n[an integration test](./integration/registries_test.ts).\n\n### Deno's official registries\n\nMolt offers first-class support for the following registries, implementing\nregistry-specific routines for them:\n\n- [x] [deno.land/std](https://deno.land/std)\n- [x] [deno.land/x](https://deno.land/x)\n- [x] [jsr](https://jsr.io) (via `jsr:` specifier)\n- [x] [npm](https://www.npmjs.com) (via `npm:` specifier)\n\n### Third-party registries\n\nMolt also works with the following third-party registries:\n\n- [x] [esm.sh](https://esm.sh)\n- [x] [unpkg.com](https://unpkg.com)\n\nThe following registries are not compatible with Molt:\n\n- [cdn.jsdelivr.net](https://cdn.jsdelivr.net)\n- [cdn.skypack.dev](https://cdn.skypack.dev)\n- [esm.run](https://esm.run)\n- [denopkg.com](https://denopkg.com)\n- [ga.jspm.io](https://ga.jspm.io)\n- [pax.deno.dev](https://pax.deno.dev)\n- [raw.githubusercontent.com](https://github.com)\n- [x.nest.land](https://x.nest.land)\n\n## Related projects\n\nMolt is inspired by other projects like\n\n- [deno-udd](https://github.com/hayd/deno-udd)\n- [dmm](https://github.com/drashland/dmm)\n- [updater](https://github.com/deaddeno/updater)\n\n\u003c!-- Footnotes --\u003e\n\n[^1]: See\n[Dependabot's versioning strategy](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy).\n\n\u003c!-- Links --\u003e\n\n[Deno]: https://deno.land\n[deno_graph]: https://github.com/denoland/deno_graph\n[import_map]: https://github.com/denoland/import_map\n[deno_lockfile]: https://github.com/denoland/deno_lockfile\n[udd]: https://github.com/hayd/deno-udd\n[@molt/cli]: https://jsr.io/@molt/cli\n[@molt/core]: https://jsr.io/@molt/core\n[@molt/integration]: https://jsr.io/@molt/integration\n[@molt/lib]: https://jsr.io/@molt/lib\n[issues]: https://github.com/hasundue/molt/issues\n[dependabot]: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasundue%2Fmolt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasundue%2Fmolt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasundue%2Fmolt/lists"}