Skip to main content
Deno 2 is finally here 🎉️
Learn more

🚚 Depo

!depo header

Depo is a simple package manager for Deno, mostly wrapping the esm.sh package cache. Not affiliated with Deno or esm.sh

Installation

Usage

depo init my-app -y to get started

Depo will manage creating and caching the deps.ts file for you, so it is recommended to import dependencies using their import maps and let Deno handle the tree-shaking.

Commands

  • init [name]
    • Initialize repo with Depo.
  • install, i [source] [modules…]
    • Install module(s) from a source.
  • update, u
    • Upgrade Modules
  • remove, r - Remove (uninstall) module(s)
  • cache, c
    • Generate and cache deps.ts
    • This is used if you manually add a module to deno.json
  • search, s [source] [library] [count]

Future

This is my first project using Deno, so I am planning on adding more features as I use it more.

Todo list:

  • Tests
  • CI/CD
  • Reduce the number of init confirmation questions
  • Use Deno.openKv() for user settings
  • Automod: a feature to automatically generate a mod.ts file for each folder
  • docs: set up a docs folder for static site generation with Lume