GithubHelp home page GithubHelp logo

alexxnica / npms-analyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from npms-io/npms-analyzer

0.0 1.0 0.0 2.19 MB

The analyzer behind https://npms.io

License: MIT License

JavaScript 99.78% Shell 0.22%

npms-analyzer's Introduction

npms-analyzer

Build status Coverage status Dependency status Dev dependency status

The npms-analyzer analyzes the npm ecosystem, collecting info, evaluating and scoring each package.

Usage

This project offers all its functionality through a CLI.

Demo (output might be outdated)

Note that you must setup the project before using the CLI. The most important commands will be described below. To discover the other ones run $ npms-analyzer -h.

npms-analyzer observe

The observe command starts observing changes that occur in the npm registry as well as packages that were not analyzed for a while. Each reported package will be pushed into a queue to be processed by the queue consumers.

$ npms-analyzer observe --log-level debug | pino

For more information about the command, run $ npms-analyzer observe -h

npms-analyzer consume

The consume command starts consuming the queue, running the analysis process for each queued package.

$ npms-analyzer consume --log-level debug --concurrency 5 | pino

For more information about the command, run $ npms-analyzer consume -h

npms-analyzer scoring

The scoring command, continuously iterates over the analysis results and calculates a score for all the npm packages, storing its result in elasticsearch.

$ npms-analyzer scoring

For more information about the command, run $ npms-analyzer scoring -h

Architecture

There's a separate document that explains the architecture, you may read it here.

Setup

There's a separate document that explains the setup procedure, you may read it here.

Deploys

There's a separate document that explains the deployment procedure, you may read it here.

Tests

Before running the tests, you must have read through the setup guide.

$ npm test
$ npm test-cov # to get coverage report

npms-analyzer's People

Contributors

satazor avatar atduarte avatar greenkeeperio-bot avatar notslang avatar

Watchers

 avatar

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.