Comments (7)
Hi, thanks for submitting this. We’re currently discussing future plans for search and will get back to you with more information when we know what’s coming down the pipeline.
from www.
+2 criteria:
- number of dependencies
- number of packages that depend on the found package
I believe I would always sort on the latter by default, if available.
from www.
+1 request: the first result, if possible, should be the package with the name that matches the query exactly.
So if my search query is "babel-preset-react", then the babel-preset-react
package should be the first result returned.
from www.
months ago I made an issue about search ordering and filtering....it might have been on the "newww" repo that no longer exists cause I can't find it here.
Anyway it seems such a request will all be a long time in coming (been a year since I inquired) and like I commented before repos on npm are growing exponentially. Filtering and ordering down to find something useful is getting to be a requirement, otherwise the whole database becomes kinda useless (I have resorted to searching on github which has slightly better options)
So my question is there a REST or other api to the database? Is the database mongo? If the answer is yes to either then can we be provided some information about access. Then I can just write my own queries as I please....maybe even share if I write a webapp for this. I recall some time ago somebody had put up an alternative to nmpjs.org site so at least at one time this was possible back with npm 1/2
I understand everyone is time limited all we are asking for is access to a database that seems at least in principle to be public considering it's full of open source code.
from www.
Third-party search interfaces to npm are indeed possible, https://npms.io/ proves it.
from www.
@Mithgol , npms.io is a good start and has a published api although I don't see a way to filter on download frequency nor date of last commit nor number of dependencies (which probably just reflects download frequency). Also corresponding github stars is also another good filter so an API that can access both npm and github dbs would be a winner. In any respect the code at npms github organization should illuminate access to the npm db. I'm thinking those here should make feature requests (pull or otherwise) there and maybe @adammockor should just close this.
from www.
We've issued an update of search! Check it out!
from www.
Related Issues (20)
- the image in the README is displayed beyond the screen HOT 1
- how can we close Solr Connection once it open
- Readability issues with new code block font HOT 2
- Readmes missing after publishing a new package HOT 6
- "@" in the install instruction is cut off
- unexpected status code from user-acl: 500 when trying to create a new account
- NPM Package UI (CSS) Breaking For My Package
- problem with rtl
- Links in h1 titles in packages' README files are hidden
- npmjs.org always assumes that all dependencies are on npmjs.org and ends up linking to unrelated packages. HOT 1
- Not able to install via npm
- Package search shows wrong date and version
- Index out of bounds exception when navigating to a member page past maximum
- Wrong documentation last modified date in docs.npmjs.com (October 26, 1985)
- Search result shows old version HOT 1
- 2fa recovery codes truncated HOT 1
- Provide links for specific tags at the top of the package details page (Readme, admin, dependencies, etc)
- Home page link url is incorrect HOT 2
- Repository link url is broken HOT 1
- Searchbar for @scoped packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from www.