# mkdcolor

> Color and stuff.

Latest version **0.0.2** (published 2018-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install mkdcolor
pnpm add mkdcolor
yarn add mkdcolor
bun add mkdcolor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-11-17 |
| First published | 2018-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ShyGirlRuby |
| Maintainers | shygirlruby |
| Keywords | color, latest |

## Links

- npm: https://www.npmjs.com/package/mkdcolor
- npm.io page: https://npm.io/package/mkdcolor

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2018-11-17
- 0.0.1 — 2018-11-17

## README

# mkdcolor

### What it does
Like the normal colors module but just one string.

Anything after a block will be that blocks color, try the example so see what i mean.

Simple example of how the blocks work
```
[#-g]This text will be green but [#-r]this will be red and [#r]now its reset to the default.
```

### Basic Usage

```js
var mkdc = require("mkdcolor");

console.log( mkdc.read("[#-w]Something [#-r]red with a bit of [#-g]green and a little tiny bit of [#-m]magenta and [#-c]cyan.") );
```
the above will produce 
![image](https://i.imgur.com/JgZqhRg.jpg)
### Sequence Blocks
[#r] -- Resets<br/>
[#h] -- Hides<br/>
[#-bl] -- Black<br/>
[#-r] -- Red<br/>
[#-g] -- Green<br/>
[#-y] -- Yellow<br/>
[#-b] -- Blue<br/>
[#-m] -- Magenta<br/>
[#-c] -- Cyan<br/>
[#-w] -- White<br/>
[#-gr] -- Grey<br/>

---
_Source: https://npm.io/package/mkdcolor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
