Skip to content

nodejitsu/registry-status-pagelet

Repository files navigation

registry-status-pagelet

Pagelet for visual overview of the npm registry and its mirrors. d3 is used for

Installation

This package is released in the public npm registry and can be installed using:

npm install --save registry-status-pagelet

Please note that this module should be used together with the BigPipe framework.

Configuration

There are various of options that can be configured in the pagelet.

  • status: Data collection per type and per registry. Preferably this is updated by something like npm-probe.
  • latest: Collection of latest values per type and per registry. These could be updated by EventEmitters or similar.

These options should be set when you're extending the registry-status-pagelet

module.exports = require('registry-status-pagelet').extend({
  get status() {
    return collector.data || {};
  },

  get latest() {
    return collector.latest || {};
  }
});

About

Pagelet for visual overview of npm registry statuses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published