Skip to content

Latest commit

History

History
41 lines (27 loc) 路 864 Bytes

add_package.md

File metadata and controls

41 lines (27 loc) 路 864 Bytes

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