- added usage example to readme
This commit is contained in:
parent
dcc200ab1b
commit
e54de01c45
1 changed files with 1 additions and 7 deletions
|
|
@ -70,16 +70,10 @@
|
|||
- Actively maintained
|
||||
- [Used by ~50,000 packages](https://www.npmjs.com/browse/depended/chalk) as of January 1, 2020
|
||||
|
||||
## Install
|
||||
|
||||
```console
|
||||
$ npm install chalk
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import chalk from 'chalk';
|
||||
import chalk from "https://deno.land/x/chalk_deno@v4.1.1-deno/source/index.js"
|
||||
|
||||
console.log(chalk.blue('Hello world!'));
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue