All Projects β†’ nodesource β†’ Npmsearch

nodesource / Npmsearch

Licence: mit
blazing fast npm search utility

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Npmsearch

Spife
πŸ› 🍴 a jshttp based Β΅framework 🍴 🍝
Stars: ✭ 230 (-13.53%)
Mutual labels:  npm
Npx
execute npm package binaries (moved)
Stars: ✭ 2,634 (+890.23%)
Mutual labels:  npm
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
Open Registry
Community Owned JavaScript Registry
Stars: ✭ 259 (-2.63%)
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
Asset Packagist
Asset Packagist
Stars: ✭ 235 (-11.65%)
Mutual labels:  npm
Vuepack
Publish .vue files in NPM packages
Stars: ✭ 242 (-9.02%)
Mutual labels:  npm
Singlespotify
🎡 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (-4.51%)
Mutual labels:  npm
Mason
Cross platform package manager for C/C++ apps
Stars: ✭ 230 (-13.53%)
Mutual labels:  npm
Ngx Smart Modal
Modal/Dialog component crafted for Angular
Stars: ✭ 256 (-3.76%)
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

N|Solid

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].