Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-preload

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-preload

Request that Node.js child processes preload modules

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 22 Dec 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc