# check-david

> No-nonsense dependency checks for your package.json

Latest version **0.0.4** (published 2016-05-09) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install check-david
pnpm add check-david
yarn add check-david
bun add check-david
```

Provides the command `check-david`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2016-05-09 |
| First published | 2016-05-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 4 |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Raphael Pigulla |
| Maintainers | pigulla |
| Keywords | david, dependencies, check |

## Links

- npm: https://www.npmjs.com/package/check-david
- Repository: https://github.com/Finanzchef24-GmbH/check-david
- Issues: https://github.com/Finanzchef24-GmbH/check-david/issues
- npm.io page: https://npm.io/package/check-david

## Dependencies (6)

- [david](https://npm.io/package/david.md) 7.0.1
- [yargs](https://npm.io/package/yargs.md) 4.7.0
- [semver](https://npm.io/package/semver.md) 5.1.0
- [bluebird](https://npm.io/package/bluebird.md) 3.3.5
- [checkstyle-formatter](https://npm.io/package/checkstyle-formatter.md) 1.0.0
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) 1.0.5

## 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.0.4 (latest) — 2016-05-09
- 0.0.3 — 2016-05-06
- 0.0.2 — 2016-05-06
- 0.0.1 — 2016-05-04

## README

# check-david
[![npm](https://img.shields.io/npm/v/check-david.svg?style=flat-square)](https://www.npmjs.com/package/check-david)
![Codeship](https://img.shields.io/codeship/f6eb23c0-f80b-0133-3724-2eb9f408a9c3.svg?maxAge=2592000&style=flat-square)
[![Dependency Status](https://img.shields.io/david/Finanzchef24-GmbH/check-david.svg?style=flat-square)](https://david-dm.org/Finanzchef24-GmbH/check-david)
[![devDependency Status](https://img.shields.io/david/dev/Finanzchef24-GmbH/check-david.svg?style=flat-square)](https://david-dm.org/Finanzchef24-GmbH/check-david)
![node](https://img.shields.io/node/v/jira-todo.svg?style=flat-square)
[![License](https://img.shields.io/npm/l/check-david.svg?style=flat-square)](https://github.com/Finanzchef24-GmbH/check-david/blob/master/LICENSE)

> No-nonsense dependency checks for your package.json

A simple command line tool that checks whether your dependencies are up to date (using [David](https://github.com/alanshaw/david)) and outputs a checkstyle-compatible XML report.

### Use Case

This module attempts to solve a very specific problem and thus has the following semantics:

 - if you're at least one patch versions behind, an informational message will be generated
 - if you're at least one minor versions behind, a warning will be generated
 - if you're at least one major versions behind, an error will be generated

If you set the `--force-pinned` (and/or `--force-dev-pinned`) flag, unpinned dependencies will cause an error. If needed, you can completely [ignoring packages](https://github.com/alanshaw/david#ignore-dependencies). If you have a specific feature request, feel free to [create an issue](https://github.com/Finanzchef24-GmbH/check-david/issues/new).

### Usage
```bash
$ npm i -g check-david
$ check-david /absolute/path/to/package.json > check-david.xml

# or execute the script from your module directory:
$ cd projects/awesome-stuff
$ check-david > check-david.xml  # uses the package.json in the current directory
```

Unless an internal error occurred, check-david will always terminate with an exit code of zero. Use the mechanisms provided by your build system to fail if needed.

You can ignore patch and minor version updates by using the `--level minor` or `--level major` command line option, respectively. Not that this does not affect the severity of the generated messages.

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