add README

This commit is contained in:
Philipp Kunz 2017-01-21 18:13:44 +01:00
parent 8bb91ae95d
commit 396445d67b

View File

@ -21,4 +21,16 @@ colors for beautylog
## Usage
Use TypeScript for best in class instellisense.
```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)
```
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)