UNPKG
@thi.ng/text-format
Version:
latest (2.2.46)
2.2.46
2.2.45
2.2.41
2.2.40
2.2.39
2.2.38
2.2.37
2.2.36
2.2.35
2.2.34
2.2.33
2.2.32
2.2.31
2.2.30
2.2.29
2.2.28
2.2.27
2.2.26
2.2.25
2.2.24
2.2.23
2.2.22
2.2.21
2.2.20
2.2.19
2.2.18
2.2.17
2.2.16
2.2.15
2.2.14
2.2.13
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.4.21
1.4.20
1.4.19
1.4.18
1.4.17
1.4.15
1.4.14
1.4.13
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.8
1.0.7
1.0.6
1.0.4
1.0.3
1.0.1
0.1.0
Customizable color text formatting with presets for ANSI & HTML
thi.ng/text-format
thi-ng/umbrella
@thi.ng/text-format
/
presets.js
10 lines
(9 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
FMT_ANSI16
}
from
"./ansi.js"
;
import
{ defFormatPresets }
from
"./format.js"
;
import
{
FMT_NONE
}
from
"./none.js"
;
const
PRESET_ANSI16
=
defFormatPresets
(
FMT_ANSI16
);
const
PRESET_NONE
=
defFormatPresets
(
FMT_NONE
);
export
{
PRESET_ANSI16
,
PRESET_NONE
};