Module

x/trex/docs/add_package.md

Package Manager for deno 🦕
Go to Latest
File

Make your package available for download from Trex

You can make your package available to download from trex by hosting them at:

From deno.land/std and deno.land/x:

trex install --map [packageName]
trex install --map [packageName]@[version]

With this command you can install packages from the standard deno library and those hosted at deno.land/x

From nest.land:

trex install --nest [packageName]@[version]

this will download package from nest.land

From your own repository:

trex install --pkg [user]/[repo or repo@branch/tag]/[path/to/file] [packageName]

example:

trex install --pkg oakserver/oak/mod.ts oak

this downloads oak directly from its repository