# reequire

> This is a handy node module that helps manage large projects.

Latest version **1.0.2** (published 2018-02-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install reequire
pnpm add reequire
yarn add reequire
bun add reequire
```

## 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.0.2 |
| Published | 2018-02-02 |
| First published | 2018-02-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Noah Cardoza |
| Maintainers | noahcardoza |
| Keywords | require, modules, local |

## Links

- npm: https://www.npmjs.com/package/reequire
- Repository: https://github.com/NoahCardoza/REquier
- Homepage: https://github.com/NoahCardoza/REquier#readme
- Issues: https://github.com/NoahCardoza/REquier/issues
- npm.io page: https://npm.io/package/reequire

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-02-02
- 1.0.1 — 2018-02-01
- 1.0.0 — 2018-02-01

## README

# Reequier
A handy node module that helps manage large projects.

### Installation
`npm i reequire`

### Usage
1. Create a `local-package.json` in the root project directory.
2. Add local dependencies as so:
```json
  {
    "{name}": "{path}"
  }
```
Check out the [local-package.json](local-package.json) for an example.
3. Don't forget to add `require('reequire');` at the beginning of your entry point file.


### Example
* `/local-modules/my-module/index.js`:

```js
  module.exports = {
    answer: 42
  }
```
* `local-package.json`:

```json
  {
    "my-module": "local-modules/my-module"
  }
```
* `/index.js`:

```js
  require('reequire');
  const myModule = require('my-module');
  console.log(myModule.answer); // => 42
```

__Voilà!__

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