# require-auto

> require - with automatic installation

Latest version **1.2.0** (published 2016-04-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install require-auto
pnpm add require-auto
yarn add require-auto
bun add require-auto
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2016-04-04 |
| First published | 2015-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bretton Wade |
| Maintainers | brettonw |
| Keywords | require, automatic, download |

## Links

- npm: https://www.npmjs.com/package/require-auto
- Repository: https://github.com/brettonw/require-auto.js
- Homepage: https://github.com/brettonw/require-auto.js#readme
- Issues: https://github.com/brettonw/require-auto.js/issues
- npm.io page: https://npm.io/package/require-auto

## Recent versions

- 1.2.0 (latest) — 2016-04-04
- 1.1.0 — 2015-12-14
- 1.0.4 — 2015-12-14
- 1.0.3 — 2015-12-14
- 1.0.2 — 2015-12-13
- 1.0.1 — 2015-12-13
- 1.0.0 — 2015-12-12

## README

# auto-require.js
require.js - with automatic download

A lot of people seem to hate having to "require" the packages they always use, and there
are good packages for requiring all the packages you need automatically.

This package addresses a slightly different problem, I always forget to "npm install" my
packages when I first install the build in a new location, and then I spend ten minutes
debugging the problem. This package will notice that a package hasn't been installed and
just do it.

_NOTE_: `npm` doesn't work with cygwin, so I added a workaround for my environment that 
calls 'bash' directly. Of course, this means the package won't work on vanilla Windows
now.

Usage:

    var requireAuto = require ("require-auto");
    var myPackage = requireAuto ("myPackage");

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