Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
preload-path | 2 years ago | |
CHANGELOG.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
generate-require.js | 2 years ago | |
hook-spawn.js | 2 years ago | |
index.js | 2 years ago | |
internal-preload-module.js | 2 years ago | |
package.json | 2 years ago | |
preload-list-env.js | 2 years ago | |
preload-list.js | 2 years ago | |
process-node-options.js | 2 years ago |
Request that Node.js child processes preload modules
This module requires node.js 8 or above.
npm i node-preload
'use strict';
const preloadList = require('node-preload');
// Request that all Node.js child processes preload @babel/register
preloadList.push(require.resolve('@babel/register'));
Worker threads are not directly supported by this module, results may vary.
node-preload
for enterpriseAvailable as part of the Tidelift Subscription.
The maintainers of node-preload
and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.