# pioppo

> A tiny isomorphic batched logger. ~3x faster than regular logging in Node.

Latest version **1.2.1** (published 2025-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install pioppo
pnpm add pioppo
yarn add pioppo
bun add pioppo
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2025-01-19 |
| First published | 2023-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Maintainers | fabiospampinato |
| Keywords | logger, tiny, isomorphic, fast |

## Links

- npm: https://www.npmjs.com/package/pioppo
- Repository: https://github.com/fabiospampinato/pioppo
- Homepage: https://github.com/fabiospampinato/pioppo#readme
- Issues: https://github.com/fabiospampinato/pioppo/issues
- npm.io page: https://npm.io/package/pioppo

## Dependencies (2)

- [dettle](https://npm.io/package/dettle.md) ^1.0.5
- [when-exit](https://npm.io/package/when-exit.md) ^2.1.4

## 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.2.1 (latest) — 2025-01-19
- 1.2.0 — 2024-09-13
- 1.1.1 — 2024-04-04
- 1.1.0 — 2023-03-04
- 1.0.0 — 2023-03-04

## README

# Pioppo

A tiny isomorphic batched logger. ~3x faster than regular logging in Node.

## Install

```sh
npm install pioppo
```

## Usage

```ts
import Pioppo from 'pioppo';

// Creating a Pioppo instance

const pioppo = new Pioppo ({
  transports: [console]
});

// Logging some messages

pioppo.debug ( 'Some message' );
pioppo.info ( 'Some message' );
pioppo.warn ( 'Some message' );
pioppo.error ( 'Some message' );

// Flushing messages immediately

pioppo.flush ();
```

## License

MIT © Fabio Spampinato

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