# typelog

> console.log with types

Latest version **0.2.0** (published 2016-03-22) · MIT license · 0 weekly downloads

## Install

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

## 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.2.0 |
| Published | 2016-03-22 |
| First published | 2015-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | EGOIST |
| Maintainers | kchan |

## Links

- npm: https://www.npmjs.com/package/typelog
- npm.io page: https://npm.io/package/typelog

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [figures](https://npm.io/package/figures.md) ^1.4.0

## Recent versions

- 0.2.0 (latest) — 2016-03-22
- 0.1.2 — 2015-11-19
- 0.1.1 — 2015-11-06
- 0.1.0 — 2015-11-05
- 0.0.23 — 2015-10-30
- 0.0.22 — 2015-10-29
- 0.0.21 — 2015-10-29
- 0.0.2 — 2015-10-29
- 0.0.1 — 2015-10-29

## README

# typelog

[![NPM version](https://img.shields.io/npm/v/typelog.svg?style=flat-square)](https://www.npmjs.com/package/typelog)
[![NPM download](https://img.shields.io/npm/dm/typelog.svg?style=flat-square)](https://www.npmjs.com/package/typelog)
[![David Status](https://img.shields.io/david/egoist/typelog.svg?style=flat-square)](https://david-dm.org/egoist/typelog)

Imagine logging everything in your console with a type.

![preview](https://ooo.0o0.ooo/2016/03/21/56f0c0988384a.png)

## Usage

For `node >= 4.0.0`

```javascript
const log = require('typelog')

// exitCode: 0
log.info('I\'m some information', 'hah?')
log.warn('Please do not hate me')
log.success('You finally got that girlfriend')

// exitCode: 1
log.error('You did something that wrong')

// heading title
log.heading('heading')
//=> ❯❯❯❯❯ heading
```

## License

MIT.

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