UNPKG
@fiquu/shorten
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Shortens a string (truncate) optionally keeping whole words.
github.com/fiquu/shorten
fiquu/shorten
@fiquu/shorten
/
tsconfig.json
20 lines
(19 loc)
•
293 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions"
:
{
"esModuleInterop"
:
true
,
"declaration"
:
true
,
"module"
:
"commonjs"
,
"target"
:
"es2019"
,
"strict"
:
false
,
"outDir"
:
"lib"
,
"lib"
:
[
"es2020"
]
}
,
"exclude"
:
[
"test/**/*.spec.ts"
]
,
"include"
:
[
"src/**/*.ts"
]
}