A Node.js tool (v1.0.2) that caches Elm dependencies based on elm.json checksums to prevent CI/CD connection timeouts when fetching from package.elm-lang.org. It provides fast restore from local cache, optional cleaning of old caches, and integrates easily into CI pipelines like GitHub Actions, GitLab CI, and CircleCI. No additional dependencies required. Works with Node >=14.
npm install elm-dep-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Show how to install and use elm-dep-cache as a CLI tool in an Elm project, including basic usage and clean option.
Ensure you run the command from a directory containing an elm.json file.
Always run npx elm-dep-cache from the root of your Elm project where elm.json lives.
Set ELM_HOME to a valid Elm home directory (default ~/.elm on macOS/Linux).
Set ELM_HOME explicitly if you have a custom Elm home: export ELM_HOME=/custom/path
Run npx elm-dep-cache in the root of your Elm project containing elm.json.
No dependency data recorded yet.