# @nod/debug-with-package-name

> Auto prefixes debug module with package name

Latest version **4.0.3** (published 2018-09-22) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @nod/debug-with-package-name
pnpm add @nod/debug-with-package-name
yarn add @nod/debug-with-package-name
bun add @nod/debug-with-package-name
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.3 |
| Published | 2018-09-22 |
| First published | 2017-11-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 57.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jacopkane, old-nod |
| Keywords | debug, prefix, package, name |

## Links

- npm: https://www.npmjs.com/package/@nod/debug-with-package-name
- Repository: https://github.com/NOD-studios/nod
- Homepage: https://github.com/NOD-studios/nod#readme
- Issues: https://github.com/NOD-studios/nod/issues
- npm.io page: https://npm.io/package/@nod/debug-with-package-name

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^4.0.1
- [dotenv-safe](https://npm.io/package/dotenv-safe.md) ^6.0.0
- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^4.0.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 4.0.3 (latest) — 2018-09-22
- 4.0.2 — 2018-09-13
- 4.0.1 — 2018-09-12
- 4.0.0 — 2018-09-12
- 3.0.0 — 2018-09-05
- 2.0.5-0 — 2018-09-01
- 2.0.4-alpha.0 — 2018-09-01
- 2.0.3 — 2018-09-01
- 2.0.2 — 2018-09-01
- 1.4.7-1 — 2018-08-05
- 1.4.6-0 — 2018-07-08
- 1.4.0-1 — 2018-07-08
- 1.0.3 — 2018-03-23
- 1.0.2 — 2018-03-23
- 1.0.1 — 2018-03-21
- … 6 more at https://npm.io/package/@nod/debug-with-package-name/versions

## README

# @nod/debug-with-package-name

Auto prefixes [debug module](https://www.npmjs.com/package/debug) with package name

```javascript
import debug from '@nod/debug-with-package-name'

debug()('description %O', {foo: 'bar'}) // your-package-name  description: { foo: bar }
```

```javascript
const optionaExtraParam = 'optional-param'

debug(optionaExtraParam)('description %O', {foo: 'bar'}) // your-package-name/optionalParam  description: { foo: bar }
```

## Scripts
- ### `yarn start`
Starts auto build process

- ### `yarn test`
Run test

- ### `yarn build`
Run module

- ### `yarn test-once`
Run test without watch mode

## Development and additional usage
Please see [@nod/nod](https://github.com/NOD-studios/nod) monorepo

## License
Apache 2.0

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