deno cache command downloads and compiles modules and their dependencies into the local cache without executing any code.
Usage
Description
Download and compile a module with all of its static dependencies and save them in the local cache. Future runs of this module will trigger no downloads or compilation unless--reload is specified.
Flags
Reload source code cache (recompile TypeScript). Can optionally specify specific modules to reload
Check the specified lock file
Force overwriting the lock file
Load import map file
Enables or disables the use of a local node_modules folder for npm packages
Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages
Specify the configuration file
Disable automatic loading of the configuration file
Do not resolve remote modules
Do not resolve npm modules
Enable type-checking. Can optionally specify “all” to type-check all code including remote modules
Allow running npm lifecycle scripts for specified packages
Allow importing from specified hosts
Deny importing from specified hosts