Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Search modules online #16966

Open
silvioprog opened this issue Dec 6, 2022 · 1 comment
Open

[FEATURE REQUEST] Search modules online #16966

silvioprog opened this issue Dec 6, 2022 · 1 comment

Comments

@silvioprog
Copy link

silvioprog commented Dec 6, 2022

Hi.

Since Deno handles modules by itself without external PMs, it would be nice to provide a flag allowing the user to find module online, something like:

% deno search <module-name> --registry=<npmjs.com|deno.land|etc.>

for example:

% deno search postgres --registry=deno.land

1. postgres
2. postgresjs
3. postgres_shift
4. denodb

and an info:

% deno info module denodb --online

denodb (Popular)
Description: MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno.
Module: https://deno.land/x/denodb/mod.ts

Also, making it easy to the user by showing the module entry point (e.g: https://deno.land/x/denodb/mod.ts).

What do you think?

@silvioprog
Copy link
Author

From go command line help:

% go help | grep 'module.*install'
	get         add dependencies to current module and install them

More info: https://pkg.go.dev/cmd/go#hdr-Add_dependencies_to_current_module_and_install_them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant