# req-once

> requires the module only once, and globally caches the reference for the whole application for the specified module path

Latest version **0.0.1** (published 2018-09-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install req-once
pnpm add req-once
yarn add req-once
bun add req-once
```

## 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 | 2018-09-20 |
| First published | 2018-09-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chad Scira |
| Maintainers | icodeforlove |

## Links

- npm: https://www.npmjs.com/package/req-once
- Repository: https://github.com/icodeforlove/npm_req-once
- Homepage: https://github.com/icodeforlove/npm_req-once#readme
- Issues: https://github.com/icodeforlove/npm_req-once/issues
- npm.io page: https://npm.io/package/req-once

## Dependencies (1)

- [debug](https://npm.io/package/debug.md) ^4.0.1

## Recent versions

- 0.0.1 (latest) — 2018-09-20

## README

# req-once

## example

```javascript
const Debug = require('req-once')('debug');

// application wide if you always require "debug" this way it will use the same instance
```

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