auraterm
- Style terminal output with ease
A minimal, developer-first terminal styling utility.
Built for simplicity and joy โ style your terminal output with colors, backgrounds, gradients, and text decorations using a clean, intuitive API.
auraterm("red", "bold")("Hello")
gradient:text:red-blue
npm install @webbro-software/auraterm
import { auraterm } from "@webbro-software/auraterm";
console.log(auraterm("red")("This is red"));
console.log(auraterm("green", "bold")("Bold green text"));
console.log(
auraterm("bgBlue", "white", "underline")("White on blue background")
);
console.log(auraterm("gradient:text:red-blue")("Gradient from red to blue"));
console.log(
auraterm("gradient:bg:orange-purple", "white")("Gradient BG with white text")
);
black
, red
, green
, yellow
, blue
, magenta
, cyan
, white
brightBlack
, brightRed
, โฆ, brightWhite
bgBlack
, bgRed
, โฆ, bgWhite
bgBrightRed
, โฆ, bgBrightWhite
bold
, dim
, italic
, underline
, blink
, inverse
, hidden
, strikethrough
auraterm("gradient:text:red-blue")("Rainbow text");
auraterm(
"gradient:bg:green-yellow",
"black"
)("Black text on gradient background");
You can use any of the following named colors:
black
, red
, green
, yellow
, blue
, magenta
, cyan
, white
,
orange
, purple
, pink
, gray
To apply gradients:
gradient:text:fromColor-toColor
gradient:bg:fromColor-toColor
"white"
, "black"
)auraterm/
โโโ dist/ # ๐ง Compiled output
โโโ src/ # ๐ก Source code
โ โโโ core/ # ๐ฏ Core logic
โ โ โโโ applyStyles.ts
โ โ โโโ codes.ts
โ โโโ auraterm.ts # ๐ง Main function
โ โโโ index.ts # ๐ช Entry export
โโโ tests/ # ๐งช Test cases
โโโ README.md # ๐ This doc
โโโ package.json # ๐ฆ Config
โโโ tsconfig.json # โ๏ธ TypeScript settings
npm install
npm run test
You should see styled text printed with colors, effects, and gradients.
Command | Description |
---|---|
npm run build |
Compile TypeScript |
npm run test |
Run test file manually |
npm link |
Link locally for dev use |
Made with โค๏ธ by @usmonovshohruxmirzo
Maintained by WebBro Software
We welcome contributions from the community!
git checkout -b my-feature
npm run build && npm run test
git commit -m "Add: my awesome feature"
๐ฌ Questions or ideas? Open an issue