# inspect-log

> Combine eyes.inspector with console.log to provide pretty printing of objects, and normal printing of strings or numbers

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

## Install

```sh
npm install inspect-log
pnpm add inspect-log
yarn add inspect-log
bun add inspect-log
```

## 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.0.4 |
| Published | 2016-04-04 |
| First published | 2015-07-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Adriaan Pelzer |
| Maintainers | 4dr144n |
| Keywords | inspect, console.log, printing |

## Links

- npm: https://www.npmjs.com/package/inspect-log
- Repository: https://github.com/adriaan-pelzer/inspect-log
- Homepage: https://github.com/adriaan-pelzer/inspect-log#readme
- Issues: https://github.com/adriaan-pelzer/inspect-log/issues
- npm.io page: https://npm.io/package/inspect-log

## Dependencies (1)

- [eyes](https://npm.io/package/eyes.md) ^0.1.8

## 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
- [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
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.0.4 (latest) — 2016-04-04
- 0.0.3 — 2015-07-28
- 0.0.2 — 2015-07-28
- 0.0.1 — 2015-07-28

## README

# inspect-log

Inspect simply combines the *eyes* module's *inspect* method with console.log.

If whatever needs to be logged is a String or a Number, *inspect* would normally log nothing but an elipsis. This module tests if the message is a String or a Number, and if it is, uses console.log to log it. Otherwise, it uses inspect (which pretty-prints objects and arrays, and print its entire depth)

That's it!

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