spion / npmsearch Goto Github PK
View Code? Open in Web Editor NEWSearch the npm registry by keywords, results carefully sorted using both relevance and downloads.
Search the npm registry by keywords, results carefully sorted using both relevance and downloads.
If a user searches for multiple keywords e.g.
sql microsoft
and one of the keywords has similar keywords found via cooccurrance
sql, mysql
packages that have both sql
and mysql
as keywords but not microsoft
will also appear in the results
Cool idea for this tool! Not sure if it's an old dep or what, but this is what I got:
https://gist.github.com/patcon/9878151
➜ roobot git:(master) ✗ npm --version
1.4.3
➜ roobot git:(master) ✗ node --version
v0.10.26
➜ roobot git:(master) ✗ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
D:\temp\z>npm install -g npmsearch
[...]
C:\Users\Users[0]\AppData\Roaming\npm\npmsearch -> C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\bin\npmsearch.js
[email protected] C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])
D:\temp\z>npmsearch grunt
fetching downloads after 2014-04-08 ...
WARN Building the local index for the first time, please be patient
info trying registry request attempt 1 at 08:46:33
http GET http://registry.npmjs.org/-/all
http 200 http://registry.npmjs.org/-/all
C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\lib\downloads.js:40
downloads.rows.forEach(function(download) {
^
TypeError: Cannot call method 'forEach' of undefined
at C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\lib\downloads.js:40:28
at C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\node_modules\async\lib\async.js:486:21
at C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\node_modules\async\lib\async.js:185:13
at iterate (C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\node_modules\async\lib\async.js:108:13)
at C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\node_modules\async\lib\async.js:119:25
at C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\node_modules\async\lib\async.js:187:17
at Statement.<anonymous> (C:\Users\Users[0]\AppData\Roaming\npm\node_modules\npmsearch\node_modules\async\lib\async.js:491:34)
D:\temp\z>npm -v
1.4.9
The link to http://npmsearch.docucalc.com/ is referenced here and here but it doesn't work at the moment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.