2.2.0 • Published 4 years ago

charextra v2.2.0

Weekly downloads
486
License
BSD-3-Clause
Repository
github
Last release
4 years ago

Charextra

Extra chars for Node.js and Typescript.
github repository
Main page
NPM

How to use?

Install:

npm i charextra

Pattern:

charextra.<symbol name>

For example:

const charextra = require('charextra')
const log = console.log
log(charextra.check)

Run it and you'll see a green tick (In fact, it's a green square root symbol)

Supported charactors

symbol namecharactor
sqrtA square root symbol
checkA green tick(green square root symbol)
XA red 'X'
failedThe same as above
invaildThe same as above
happy:-)
sad:-(
laugh:-D
fatalA bold red string "FATAL"
errorA red string "ERROR"
warnA yellow string "WARN"
infoA green string "INFO"
copyrightThe symbol ©
registryThe symbol ®
blockA block with black filling
squareA square with black filling
square_without_fillingA square without filling
swfThe same as above
TMThe symbol ™
sumThe symbol ∑
deltaThe symbol ∆
geGreater or equal
leLess or equal
infinityThe symbol ∞
alphaThe symbol α
betaThe symbol β
gammaThe symbol γ
line\<num>A line with \<num> '-' e.g. line30 -> '------------------------------' \<num> can be 10, 20, 30, 80 and 100

Do you have any other good idea? Send to my email sjc.0910@qq.com!

2.2.0

4 years ago

2.1.0

4 years ago

1.2.0

4 years ago

2.0.0

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago