Trex package manager + Nest.land module registry for Deno = ❤ #219
buttercubz
started this conversation in
Show and tell
Replies: 1 comment
-
I think that what you guys have built is a really interesting concept on top of how Deno imports code. Introducing a clean way to vendor and manage modules is something that I think a lot more people will appreciate in the coming time. In addition, I really respect that you all have rolled out support for multiple registries instead of mandating one in particular. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If it's coming from the js node environment, chances are it's related to npm, now npm is a private company with a centralized package log, and if you have time you know of issues that have occurred like left-pad or eventStream.
The
nest.land
team is creating a package record for the deno environment, which avoids creating problems like the ones mentioned above.nest.land
is powered by blockchain technology, which provides an immutable registry, it has a system to report malicious packages, all a safe and reliable environment.this is where
Trex
comes in,Trex
is a package manager for deno based on the import map feature of owns deno, the purpose of Trex is to make dependency management easier, Trex takes the way that npm works (only the commands) to be more friendly and easy to use.install Trex
from
nest.land
or from
deno.land/x/trex
how does it work?
you write the following in the terminal.
When using the
--map
flag, trex will try to install the oak package,--map
is to install packages hosted indeno.land/std
anddeno.land/x
to install packages hosted on
nest.land
just use the--nest
flag.just type in the package name and specify the version using
@
if the package you need is only hosted in a repository, you can use the
--pkg
flag to install it.It works in the following way.
To see the complete usage guide visit the official repository here
Beta Was this translation helpful? Give feedback.
All reactions