diff options
Diffstat (limited to 'vanilla/node_modules/tinyrainbow/README.md')
| -rw-r--r-- | vanilla/node_modules/tinyrainbow/README.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vanilla/node_modules/tinyrainbow/README.md b/vanilla/node_modules/tinyrainbow/README.md new file mode 100644 index 0000000..3f00fdf --- /dev/null +++ b/vanilla/node_modules/tinyrainbow/README.md @@ -0,0 +1,28 @@ +# tinyrainbow + +Output your colorful messages in the terminal or browser console that support ANSI colors (Chrome engines). + +A small (`~ 6 kB` unpacked) fork of [picocolors](https://www.npmjs.com/package/picocolors) with support for `exports` field. + +Supports only ESM. + +## Installing + +```bash +# with npm +$ npm install -D tinyrainbow + +# with pnpm +$ pnpm add -D tinyrainbow + +# with yarn +$ yarn add -D tinyrainbow +``` + +## Usage + +```js +import c from 'tinyrainbow' + +console.log(c.red(c.bold('Hello World!'))) +``` |
