# druids

> Middleware for dependency reports generated by dep-rep

Latest version **0.2.3** (published 2016-05-30) · MIT license · 0 weekly downloads

## Install

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

Provides the command `druids`.

## 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.2.3 |
| Published | 2016-05-30 |
| First published | 2016-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin Smets |
| Maintainers | kevin-smets |
| Keywords | dependency, dependencies, reporter, middleware, server, node modules, npm |

## Links

- npm: https://www.npmjs.com/package/druids
- Repository: https://github.com/kevin-smets/druids
- Homepage: https://github.com/kevin-smets/druids#readme
- Issues: https://github.com/kevin-smets/druids/issues
- npm.io page: https://npm.io/package/druids

## Dependencies (3)

- [yargs](https://npm.io/package/yargs.md) 4.7.1
- [dep-rep](https://npm.io/package/dep-rep.md) 0.6.3
- [express](https://npm.io/package/express.md) 4.13.4

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.2.3 (latest) — 2016-05-30
- 0.2.2 — 2016-04-26
- 0.2.1 — 2016-04-26
- 0.2.0 — 2016-02-15
- 0.1.6 — 2016-02-07
- 0.1.5 — 2016-02-07
- 0.1.4 — 2016-02-07
- 0.1.3 — 2016-01-31
- 0.1.2 — 2016-01-30
- 0.1.1 — 2016-01-30
- 0.1.0 — 2016-01-30

## README

# druids

> These are the druids you are looking for.

Dependency Reporter UI Data Server, used as middleware between dep-rep and, most likely, a frontend UI.

## Install

```
npm i (-g) druids
```

## CLI

If you installed it globally, just run `druids`

This will start a RESTful server on http://localhost:3221

You can set another port by running:

```
druids --port 4000
```

## NPM

If you want to use druids as node module:

```
var druids = require('../druids')

druids.exec(options);
```

Options has the following optional properties:

```
var options = {
    port: 4000      // Default value is 3221
}
```

## Use

### Remotely hosted package.json

http://localhost:3000/dep-rep?remote=https://raw.githubusercontent.com/kevin-smets/clam/master/package.json

Beware: the url query is passed on to dep-rep *AS-IS*.

### Local package.json

First, create a locals.json in druids's folder root. Run `which druids` in terminal to find this folder if you're unsure. It can look like this:

```
{
  "dep-rep": "../dep-rep/package.json",
  "druids": "package.json"
}
```

To then GET the available locals: http://localhost:3000/dep-rep/locals

To GET the dependency report for a given local: http://localhost:3000/dep-rep/local/dep-rep

## Disclaimer

This project is currently in alpha, at best. It's not meant to run this middleware publicly, anywhere.

This is currently not in scope either so I'm not looking into any security concerns as of yet.

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