1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 01:27:31 -04:00
notes/node_modules/log-symbols/readme.md

40 lines
740 B
Markdown
Raw Normal View History

2017-03-09 13:16:08 -05:00
# log-symbols [![Build Status](https://travis-ci.org/sindresorhus/log-symbols.svg?branch=master)](https://travis-ci.org/sindresorhus/log-symbols)
> Colored symbols for various log levels
Includes fallbacks for Windows CMD which only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
![](screenshot.png)
## Install
```sh
$ npm install --save log-symbols
```
## Usage
```js
var logSymbols = require('log-symbols');
console.log(logSymbols.success, 'finished successfully!');
// On real OSes: ✔ finished successfully!
// On Windows: √ finished successfully!
```
## API
### logSymbols
#### info
#### success
#### warning
#### error
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)