registry-status-pagelet

0.4.1 • Public • Published

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 || {};
  }
});

Package Sidebar

Install

npm i registry-status-pagelet

Weekly Downloads

14

Version

0.4.1

License

MIT

Last publish

Collaborators

  • swaagie
  • indexzero
  • jcrugzz
  • v1
  • 3rdeden