Giter Site home page Giter Site logo

npmsearch's People

Contributors

hyl avatar spion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hyl samsel

npmsearch's Issues

Multiple keywords bug

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

Error on installing sqlite3 package

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

[downloads.js:40] TypeError: Cannot call method 'forEach' of undefined

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.