This commit is contained in:
2026-02-06 00:28:35 +08:00
parent a8377f0994
commit 99577f2482
3 changed files with 3 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
.git/
.idea/
index.ts

View File

@@ -1,7 +1,7 @@
# term color render
```js
import {renderColor} from "./index";
import { renderColor } from "@hatterjiang/term-color-render";
console.log(renderColor('hello [red]red world[/red], [bold][green]bold and green text[/green][/bold]'));
```

View File

@@ -1,6 +1,6 @@
{
"name": "@hatterjiang/term-color-render",
"version": "1.0.0",
"version": "1.0.1",
"description": "Render color for term use syntax like [red]text[/red]",
"license": "MIT",
"author": "hatterjiang",