# node-preload

> Request that Node.js child processes preload modules

Latest version **0.2.1** (published 2019-12-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-preload
pnpm add node-preload
yarn add node-preload
bun add node-preload
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2019-12-22 |
| First published | 2019-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Corey Farrell |
| Maintainers | coreyfarrell |

## Links

- npm: https://www.npmjs.com/package/node-preload
- Repository: https://github.com/cfware/node-preload
- Homepage: https://github.com/cfware/node-preload#readme
- Issues: https://github.com/cfware/node-preload/issues
- npm.io page: https://npm.io/package/node-preload

## Dependencies (1)

- [process-on-spawn](https://npm.io/package/process-on-spawn.md) ^1.0.0

## Recent versions

- 0.2.1 (latest) — 2019-12-22
- 0.2.0 — 2019-12-16
- 0.1.4 — 2019-11-01
- 0.1.3 — 2019-10-07
- 0.1.2 — 2019-09-24
- 0.1.1 — 2019-09-23
- 0.1.0 — 2019-09-23

## README

# node-preload

[![Travis CI][travis-image]][travis-url]
[![Greenkeeper badge][gk-image]](https://greenkeeper.io/)
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![MIT][license-image]](LICENSE)

Request that Node.js child processes preload modules

### Install node-preload

This module requires node.js 8 or above.

```sh
npm i node-preload
```

## Usage

```js
'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.](https://tidelift.com/subscription/pkg/npm-node-preload?utm_source=npm-node-preload&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

[npm-image]: https://img.shields.io/npm/v/node-preload.svg
[npm-url]: https://npmjs.org/package/node-preload
[travis-image]: https://travis-ci.org/cfware/node-preload.svg?branch=master
[travis-url]: https://travis-ci.org/cfware/node-preload
[gk-image]: https://badges.greenkeeper.io/cfware/node-preload.svg
[downloads-image]: https://img.shields.io/npm/dm/node-preload.svg
[downloads-url]: https://npmjs.org/package/node-preload
[license-image]: https://img.shields.io/npm/l/node-preload.svg

---
_Source: https://npm.io/package/node-preload · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
