consolecolor/README.md

37 lines
2.0 KiB
Markdown
Raw Normal View History

2017-01-21 14:49:00 +00:00
# beautycolor
colors for beautylog
## Availabililty
[![npm](https://push.rocks/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautycolor)
[![git](https://push.rocks/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautycolor)
[![git](https://push.rocks/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautycolor)
[![docs](https://push.rocks/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautycolor/)
## Status for master
[![build status](https://GitLab.com/pushrocks/beautycolor/badges/master/build.svg)](https://GitLab.com/pushrocks/beautycolor/commits/master)
[![coverage report](https://GitLab.com/pushrocks/beautycolor/badges/master/coverage.svg)](https://GitLab.com/pushrocks/beautycolor/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/beautycolor.svg)](https://www.npmjs.com/package/beautycolor)
[![Dependency Status](https://david-dm.org/pushrocks/beautycolor.svg)](https://david-dm.org/pushrocks/beautycolor)
[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/beautycolor/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/beautycolor/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/pushrocks/beautycolor/badges/code.svg)](https://www.bithound.io/github/pushrocks/beautycolor)
[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
## Usage
Use TypeScript for best in class instellisense.
2017-01-21 17:13:44 +00:00
```javascript
import * as beautycolor from 'beautycolor'
let myColoredString = beautycolor.coloredString(
'This string has a blue font and a green background',
'blue',
'green'
)
console.log(myColoredString)
```
2017-01-21 14:49:00 +00:00
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)