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

Prefix restriction support #71

Open
chabou opened this issue Jan 8, 2018 · 3 comments
Open

Prefix restriction support #71

chabou opened this issue Jan 8, 2018 · 3 comments

Comments

@chabou
Copy link

chabou commented Jan 8, 2018

Thank you a lot for this service 😍. Really amazing.

Can you confirm that is not possible to restrict results to have only package with a given prefix?

For example, I would like to have all packages that begin with loader-
I read docs and (packages) source code. Although it is possible to make some regex with ElasticSearch, I didn't found anything.

Thank you!

@segrey
Copy link

segrey commented Aug 14, 2018

Prefix filtering would allow to use npms.io to complete dependencies in package.json.

@satazor
Copy link
Member

satazor commented Nov 6, 2018

At the moment there's no such feature but it would be easy to add it. We could add that via a modifier or even a new API endpoint, or perhaps both?

@segrey
Copy link

segrey commented Nov 22, 2018

@satazor That would be great! Either will work for me.

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

No branches or pull requests

3 participants