How to use the spawn-wrap.runMain function in spawn-wrap

To help you get started, we’ve selected a few spawn-wrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github istanbuljs / nyc / bin / wrap.js View on Github external
'use strict'

require('../lib/wrap')
require('spawn-wrap').runMain()

spawn-wrap

Wrap all spawned Node.js child processes by adding environs and arguments ahead of the main JavaScript file argument.

ISC
Latest version published 4 years ago

Package Health Score

68 / 100
Full package analysis

Popular spawn-wrap functions

Similar packages