Deno Module Manager

Deno Module Manager


dmm (pronounced “dim”) is a Deno module manager. It can update your deps.ts file, check if any of your dependencies are out of date, and give you information about any module in the Deno world. Managing your dependencies hasn’t been easier.

Table of Contents

Documentation

Features

  • Zero dependencies
  • Easy and simple to use
  • Checks dependencies for newer versions
  • Will update your dependencies for you
  • Gives information on modules
  • Accounts for 3rd party and Deno Standard modules
  • Installation is optional
  • No variants of node_modules and package.json
  • No extra configuration around import maps

Quick Start

There are two ways you can use this module:

  1. You can install it through the deno command.

    $ deno install \
      --allow-net='cdn.deno.land,api.deno.land,x.nest.land,raw.githubusercontent.com' \
      --allow-read='.' \
      --allow-write='deps.ts' \
      https://deno.land/x/dmm@v1.1.5/mod.ts
    
    $ dmm help
  2. Run it through a URL.

    $ deno run \
      --allow-net='cdn.deno.land,api.deno.land,x.nest.land,raw.githubusercontent.com' \
      --allow-read='.' \
      --allow-write='deps.ts' \
      https://deno.land/x/dmm@v1.1.5/mod.ts \
      help

How It Works

dmm reads the deps.ts file at the current working directory – checking versioned import and export statements and checking to see if they can be updated. If any dependency can be updated, it lets you know which ones can be updated; and if you want to update them, dmm will rewrite your deps.ts file so that your dependencies reflect their latest versions.

Note: nest.land may not reflect the latest Deno Standard Modules version immediately after Deno releases a new version. Please keep this in mind when importing your modules via nest.land.

Mirrors

Contributing

Contributors are welcomed!

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

License

By contributing your code, you agree to license your contribution under the MIT License.