You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Default User f8704fe682 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
..
preload-path 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
CHANGELOG.md 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
LICENSE 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
README.md 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
generate-require.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
hook-spawn.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
index.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
internal-preload-module.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
package.json 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
preload-list-env.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
preload-list.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago
process-node-options.js 初始化后端代码,包含Express服务、数据库配置和API接口 2 months ago

README.md

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.