# @glas/diff-logger

> Multi channel logger for comparing state changes in a processing engine.

Latest version **1.0.2** (published 2022-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @glas/diff-logger
pnpm add @glas/diff-logger
yarn add @glas/diff-logger
bun add @glas/diff-logger
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-11-26 |
| First published | 2022-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 25.6 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Kris Nye |
| Maintainers | kodyjking, krisnye |

## Links

- npm: https://www.npmjs.com/package/@glas/diff-logger
- Repository: https://github.com/glassorg/diff-logger
- Homepage: https://github.com/glassorg/diff-logger#readme
- Issues: https://github.com/glassorg/diff-logger/issues
- npm.io page: https://npm.io/package/@glas/diff-logger

## Dependencies (4)

- [diff2html](https://npm.io/package/diff2html.md) 3.4.13
- [@types/node](https://npm.io/package/@types/node.md) ^17.0.8
- [gh-diff-html](https://npm.io/package/gh-diff-html.md) ^0.0.3
- [jsondiffpatch](https://npm.io/package/jsondiffpatch.md) 0.2.5

## Recent versions

- 1.0.2 (latest) — 2022-11-26
- 1.0.0 — 2022-01-13

## README

# diff-logger
Multi channel logger for comparing state changes in a processing engine.

## Usage

    //  create a new Logger
    let { Logger } = require("@glas/diff-logger");
    let logger = Logger("./lib/output.html");

    //  write different named states to it
    let state = ["A", "B", "C"];
    logger("initial", state);
    state[1] = "Bar";
    logger("second", state);

    //  finalize the log which will write the output
    logger();

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