A package management tool for Deno that simplifies dependency management with import maps and script execution.
Trex is a package manager for the Deno runtime that simplifies installing, managing, and running dependencies. It generates and maintains import maps to handle module imports cleanly, supports multiple registries like deno.land and nest.land, and includes features for script automation and virtual CLI execution.
Deno developers who want a streamlined workflow for managing dependencies, running scripts, and executing CLI tools without the overhead of traditional package managers.
Trex offers a Deno-native package management experience that aligns with Deno's philosophy, providing import map automation, multi-registry support, and script running capabilities in a single tool, reducing configuration complexity.
Package Manager for deno ๐ฆ
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically generates and maintains a single import_map.json file for all dependencies, simplifying management as shown in the README's examples where installations update this file.
Supports packages from deno.land/std, deno.land/x, nest.land, and custom URLs or repositories, providing flexibility in sourcing dependencies, evidenced by the --map, --nest, and --pkg flags.
Allows defining command aliases in run.json or run.yml files with lifecycle hooks like preinstall and postinstall, enabling automation similar to npm scripts, as detailed in the RSAP section.
Enables running CLI tools directly via trex exec without local installation, similar to npx, with examples for tools like aleph and support for permission management.
The check command only works for packages from deno.land/std and deno.land/x, not third-party registries or CDN sources, which the README explicitly warns about as a current limitation.
Requires the --unstable flag for import maps in Deno, which might not be suitable for production environments seeking stability, as noted in installation and usage examples.
The Reboot Script Alias Protocol (RSAP) for file watching does not restart processes that never end, such as HTTP servers, limiting its usefulness for certain development workflows, as admitted in the limitations section.
trex is an open-source alternative to the following products: