# bulk-load

> Loads and or globalizes all files in a given directory

Latest version **0.0.1** (published 2014-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install bulk-load
pnpm add bulk-load
yarn add bulk-load
bun add bulk-load
```

## 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.0.1 |
| Published | 2014-09-04 |
| First published | 2014-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Matt Roman |
| Maintainers | romanmt |
| Keywords | load, node.js, require, path |

## Links

- npm: https://www.npmjs.com/package/bulk-load
- Repository: https://github.com/jamplify/bulk-load
- Issues: https://github.com/jamplify/bulk-load/issues
- npm.io page: https://npm.io/package/bulk-load

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-09-04
- 0.0.0 — 2014-09-04

## README

bulk-load
=========

Loads and or globalizes all files in a given directory

Install
-------

`npm install bulk-load`

Usage
-----

`var bulk = require('bulk-load')`

Require every js file in lib/routes

``` javascript
bulk.load(__dirname + '/lib/routes')
```

Require every js file in lib/models and globalize the exports. If
the directory contains a user.js file which exports a create
function, the following is possible.

``` javascript
bulk.globalize(__dirname + '/lib/models')
User.create();
```

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