1. node-preload
Request that Node.js child processes preload modules
node-preload
Package: node-preload
Created by: cfware
Last modified: Wed, 11 May 2022 02:35:19 GMT
Version: 0.2.1
License: MIT
Downloads: 11,795,054
Repository: https://github.com/cfware/node-preload

Install

npm install node-preload
yarn add node-preload

node-preload

Travis CI
Greenkeeper badge
NPM Version
NPM Downloads
MIT

Request that Node.js child processes preload modules

Install node-preload

This module requires node.js 8 or above.

 npm i node-preload

Usage

 'use strict';

const preloadList = require('node-preload');

// Request that all Node.js child processes preload @babel/register
preloadList.push(require.resolve('@babel/register'));

Limitations

Worker threads are not directly supported by this module, results may vary.

node-preload for enterprise

Available 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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code