# caba

> Simple counter in console

Latest version **1.0.4** (published 2016-02-11) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2016-02-11 |
| First published | 2015-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | astur |
| Maintainers | astur |

## Links

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

## Recent versions

- 1.0.4 (latest) — 2016-02-11
- 1.0.3 — 2016-01-31
- 1.0.2 — 2015-11-06
- 1.0.1 — 2015-11-06
- 1.0.0 — 2015-11-06

## README

# caba

Simple counter in console.

This package is deprecated and not supported any more. I recomend to use it's successor - [cllc](https://github.com/astur/cllc).

## Install

```bash
npm install caba
```

No dependences.

## Usage

```js
// Create counter:
var caba = require('caba')();
// //or//
// var caba = require('caba')('%s tasks done.', 0);

// Start counter
caba.start();
// //or//
// caba.start('%s tasks done.', 0);

// Increment counter
caba.step();
// //or//
// caba.step(5);

// Safe replacement to console.log
caba.log('TEST', 'TEST2');

// Stop counter
caba.stop(); // stop and clear
// //or//
// caba.finish(); // stop and save last string
// //or//
// caba.finish('Well done %s tasks!', 100); // stop with special string
```

## License

MIT

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