nodesource / Npmsearch
Licence: mit
blazing fast npm search utility
Stars: β 266
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Npmsearch
Multiple Dates Picker For Jquery Ui
MDP is a little plugin that enables jQuery UI calendar to manage multiple dates.
Stars: β 256 (-3.76%)
Mutual labels: npm
Docker Mastery For Nodejs
Docker Mastery for Node.js Projects, From a Docker Captain
Stars: β 231 (-13.16%)
Mutual labels: npm
Typescript Express Starter
π TypeScript Express Starter
Stars: β 238 (-10.53%)
Mutual labels: npm
Gab Dissenter Extension
Dissenter.com Browser Extension source code
Stars: β 252 (-5.26%)
Mutual labels: npm
Ts ci
β
Continuous integration setup for TypeScript projects via GitHub Actions.
Stars: β 225 (-15.41%)
Mutual labels: npm
Cacache
π©π΅ but for your data. If you've got the hash, we've got the cache β’ (moved)
Stars: β 245 (-7.89%)
Mutual labels: npm
Nodebestpractices
β
The Node.js best practices list (December 2021)
Stars: β 72,734 (+27243.61%)
Mutual labels: npm
Singlespotify
π΅ Create Spotify playlists based on one artist through the command line
Stars: β 254 (-4.51%)
Mutual labels: npm
Password Validator
Validates password according to flexible and intuitive specification
Stars: β 224 (-15.79%)
Mutual labels: npm
Npm Upgrade
Interactive CLI utility to easily update outdated NPM dependencies
Stars: β 245 (-7.89%)
Mutual labels: npm
Apify Js
Apify SDK β The scalable web scraping and crawling library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.
Stars: β 3,154 (+1085.71%)
Mutual labels: npm
Thanks
π Give thanks to the open source maintainers you depend on! β¨
Stars: β 2,753 (+934.96%)
Mutual labels: npm
Barrelsby
Automatic TypeScript barrels (index.ts files) for your entire code base
Stars: β 252 (-5.26%)
Mutual labels: npm
npmsearch.com
This is the code that powers npmsearch.com, which provides a clean interface to searching pseudo-rated node packages from npm.
api
To query the npmsearch index, you can use the HTTP api which is effectively a proxy to elasticsearch's URI Search.
All requests go through http://npmsearch.com/query. Here's an example:
curl "http://npmsearch.com/query?q=dom&fields=name"
{"results":[{"name":["select-dom"]},{"name":["dom-manipulations"]},{"name":["zero-dom"]},{"name":["dom-stub"]},{"name":["dom-walk"]},{"name":["dom-value"]},{"name":["karma-chai-dom"]},{"name":["dom-select"]},{"name":["dom-listeners"]},{"name":["has-dom"]}],"total":7265,"from":0}
Available fields
- author
- created
- dependencies
- description
- devDependencies
- homepage
- keywords
- maintainers
- modified
- name
- readme
- repository
- scripts
- times
- version
- rating - computed rating as per bin/rating.js
Running your own npmsearch
Setup Elasticsearch
See the elasticsearch docs for setting up a node
# create an index
curl -XPUT http://localhost:9200/my-index-name
# setup the package field mappings
cat mappings.json | curl -v -XPOST http://localhost:9200/my-index-name/package/_mapping -H "Content-type: application/json" -d @-
# setup an alias to 'registry'
curl -XPOST 'http://localhost:9201/_aliases' -d '
{
"actions" : [
{ "add" : { "index" : "my-index-name", "alias" : "registry" } }
]
}'
pipe the npm registry into elasticsearch
npm2es --couch="https://skimdb.npmjs.com/registry" --es="http://localhost:9200/registry"
run the server
node bin/server.js --es="http://localhost:9200/registry"
compute ratings
node bin/rating.js --es="http://localhost:9200/registry"
Authors and Contributors
Elijah Insua | GitHub/tmpvar | Twitter/@tmpvar |
---|
Authored by Elijah Insua. Contributions are welcomed from anyone wanting to improve this project!
License & Copyright
npmsearch is Copyright (c) 2016 NodeSource and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.txt file for more details.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].