https://github.com/ayushmantripathy/btss
Basic Terminal String Styling in <5kb
https://github.com/ayushmantripathy/btss
string styling
Last synced: 2 months ago
JSON representation
Basic Terminal String Styling in <5kb
- Host: GitHub
- URL: https://github.com/ayushmantripathy/btss
- Owner: AyushmanTripathy
- Created: 2021-11-28T16:16:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-03T06:02:15.000Z (over 3 years ago)
- Last Synced: 2025-01-26T13:17:11.977Z (4 months ago)
- Topics: string, styling
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BTSS
#### Basic Terminal String Styling in <5kb
install - `npm i btss`
#### Text decorations
example -
```js
import { grey } from "btss";
grey("this text will be grey");
```
1. reset
1. bold
1. grey
1. underline
1. blink
1. reverse
1. hidden#### Colors
these colors can be used as font color or background color
example -```js
import { red, bgred } from "btss";// red font color
red("text");// red background color
bgred("text");
```
1. black
1. red
1. green
1. yellow
1. blue
1. magenta
1. cyan
1. white
1. crimson