# debug-fd-deprecated

> Fixes '`DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function' error

Latest version **1.0.1** (published 2017-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install debug-fd-deprecated
pnpm add debug-fd-deprecated
yarn add debug-fd-deprecated
bun add debug-fd-deprecated
```

## 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.0.1 |
| Published | 2017-02-05 |
| First published | 2017-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | bisubus |
| Maintainers | ex-machine |
| Keywords | debug |

## Links

- npm: https://www.npmjs.com/package/debug-fd-deprecated
- Repository: https://github.com/ex-machine/debug-fd-deprecated
- Issues: https://github.com/ex-machine/debug-fd-deprecated/issues
- npm.io page: https://npm.io/package/debug-fd-deprecated

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-02-05
- 1.0.0 — 2017-02-05

## README

# debug-fd-deprecated

This is a fix for deprecation warning (not its cause),

> `DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function

Which is produced on Node.js by `debug` package v2.6.0 and its dependents, commonly ExpressJS and its middlewares.

Particularly useful for the users of JetBrains IntelliJ IDEA, PhpStorm, WebStorm.

## Description

The package patches Node.js `util.deprecate` in safe manner to keep it silent about `DEBUG_FD`.

## Use

`debug-fd-deprecated` should be loaded once, before `debug` or any other package that uses it:

```js
'use strict';
require('debug-fd-deprecated');
...
const bodyParser = require('body-parser');
```

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