# redr

> Lazy require with filter logic

Latest version **0.0.2** (published 2012-01-04) · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2012-01-04 |
| First published | 2011-12-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.0 < 0.7.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Veselin Todorov |
| Maintainers | vesln |
| Keywords | require, lazy load |

## Links

- npm: https://www.npmjs.com/package/redr
- Repository: https://github.com/vesln/redr
- Homepage: http://github.com/vesln/redr
- npm.io page: https://npm.io/package/redr

## Dependencies (1)

- [package](https://npm.io/package/package.md) 1.0.0

## Recent versions

- 0.0.2 (latest) — 2012-01-04
- 0.0.1 — 2011-12-18

## README

[![Build Status](https://secure.travis-ci.org/vesln/redr.png)](http://travis-ci.org/vesln/redr)

# Important Notice

I'm no longer actively maintaining this project. If you are interested in taking over - [ping me on twitter](https://twitter.com/vesln). Thanks!

# Redr

Lazy require for files.

## Why?

- Easy to mock.
- Require only what you *really* have to.
- Because I use it like everywhere and I'm too lazy to copy-paste code.

## Install
	
	$ npm install redr

## Usage

	var Redr = require('redr');
	var files = new Redr('/path/to/controllers/').load();
	var jobsController = files.get.jobs; // this will perform require

## Features

- Multiple paths
- Validators

## Tests
	
	$ npm install
	$ make test

## License

MIT License.

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