consolecolor/readme.md
2024-03-13 20:02:12 +01:00

46 lines
2.3 KiB
Markdown

# consolecolor
colors for beautylog
## Availabililty
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/consolecolor)
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/consolecolor)
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/consolecolor)
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/consolecolor/)
## Status for master
[![build status](https://GitLab.com/pushrocks/consolecolor/badges/master/build.svg)](https://GitLab.com/pushrocks/consolecolor/commits/master)
[![coverage report](https://GitLab.com/pushrocks/consolecolor/badges/master/coverage.svg)](https://GitLab.com/pushrocks/consolecolor/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/consolecolor.svg)](https://www.npmjs.com/package/consolecolor)
[![Dependency Status](https://david-dm.org/pushrocks/consolecolor.svg)](https://david-dm.org/pushrocks/consolecolor)
[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/consolecolor/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/consolecolor/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/pushrocks/consolecolor/badges/code.svg)](https://www.bithound.io/github/pushrocks/consolecolor)
[![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.
```javascript
import * as consolecolor from 'consolecolor';
let myColoredString = consolecolor.coloredString(
'This string has a blue font and a green background',
'blue',
'green'
);
console.log(myColoredString);
```
For further information read the linked docs at the top of this README.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
> | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks)