# ab-log

> Simple `chalk` wrapper.

Latest version **1.1.2** (published 2026-04-15) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2026-04-15 |
| First published | 2016-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jakub Zolcik |
| Maintainers | sftd |

## Links

- npm: https://www.npmjs.com/package/ab-log
- Repository: https://github.com/allblue-pl/npm-ab-log
- Homepage: https://github.com/allblue-pl/npm-ab-log#readme
- Issues: https://github.com/allblue-pl/npm-ab-log/issues
- npm.io page: https://npm.io/package/ab-log

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) 5.6.*

## Recent versions

- 1.1.2 (latest) — 2026-04-15
- 1.1.0 — 2026-04-10
- 1.0.6 — 2024-11-03
- 1.0.5 — 2024-10-19
- 1.0.4 — 2018-06-09
- 1.0.3 — 2018-04-17
- 1.0.2 — 2018-04-15
- 1.0.1 — 2018-02-16
- 1.0.0 — 2018-02-08
- 0.1.1 — 2018-02-06
- 0.1.0 — 2016-10-06
- 0.0.3 — 2016-01-05
- 0.0.2 — 2016-01-04
- 0.0.1 — 2016-01-04

## README

# AB Log

Simple 'chalk' package wrapper for logging purposes.

## Installation

`npm install ab-log`

## Usage

```
var abLog = require('ab-log');

abLog.log('Log.');
abLog.log('Log: %s.', 'important log');

abLog.success('Success.');
abLog.success('Success: %s.', 'great success');

abLog.warning('Warning.');
abLog.warning('Warning: %s.', 'dangerous warning');

abLog.error('Error.');
abLog.error('Error: `%s`.', 'horrible error.');
```

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