New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mirv

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mirv

Clustered Web Server

latest
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

Build Status Coverage Status dependency Status devDependency Status NPM version

Multiple Independently Request Vassal (MIRV)

$ npm install -g istanbul

Use it as a module

npm --save install mirv

'use strict';

const mirv    = require('./lib'),
      express = require('express'),
      path    = require('path'),
      fs      = require('fs');

function routes(app, config, logger) {
  const pkg = JSON.parse(fs.readFileSync(`${path.resolve(__dirname)}/package.json`));
  app.use(express.static(config.routes.ressources_path));
  app.get('/healthz', (req, res) => {
    res.json({ok:true}).end();
  });
  app.get('/version', (req, res) => {
    res.json({version:pkg.version}).end();
  });
}

const do_not_log_routes = ['/healthz'];
mirv.supervisor(mirv.rest(routes, do_not_log_routes), {routes:{ressources_path:process.argv[2] || '.'}});

FAQs

Package last updated on 18 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts