# include

> Require local files relative to the root of your node project.

Latest version **1.1.0** (published 2016-01-31) · MIT license · 0 weekly downloads

## Install

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

## 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.1.0 |
| Published | 2016-01-31 |
| First published | 2012-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Anthony Nichols |
| Maintainers | anichols |
| Keywords | include, require |

## Links

- npm: https://www.npmjs.com/package/include
- Repository: https://github.com/anthonynichols/node-include
- Issues: https://github.com/anthonynichols/node-include/issues
- npm.io page: https://npm.io/package/include

## Recent versions

- 1.1.0 (latest) — 2016-01-31
- 1.0.0 — 2015-12-17
- 0.1.2 — 2014-07-26
- 0.1.1 — 2014-07-26
- 0.1.0 — 2014-07-26
- 0.0.1 — 2012-09-09
- 0.0.0 — 2012-09-09

## README

# node-include

Require local files relative to the path provided at require.

# install

npm install include

# usage

```js
var include = require('include')(__dirname);
```

#### without include

```js
var foo = require('../../../path/to/foo');
```

#### with include

```js
var foo = include('path/to/foo');
```

# license
MIT

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