UNPKG
table
Version:
latest (6.9.0)
6.9.0
6.8.2
6.8.1
6.8.0
6.7.6
6.7.5
6.7.4
6.7.3
6.7.2
6.7.1
6.7.0
6.6.0
6.5.1
6.5.0
6.4.0
6.3.4
6.3.3
6.3.2
6.3.1
6.3.0
6.2.0
6.1.0
6.0.9
6.0.8
6.0.7
6.0.6
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.4.6
5.4.5
5.4.4
5.4.3
5.4.2
5.4.1
5.4.0
5.3.3
5.3.2
5.3.1
5.3.0
5.2.3
5.2.2
5.2.1
5.2.0
5.1.1
5.1.0
5.0.2
5.0.1
5.0.0
4.0.3
4.0.2
4.0.1
3.8.3
3.8.2
3.8.0
3.7.10
3.7.9
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.3
3.7.1
3.7.0
3.6.2
3.6.1
3.6.0
3.5.0
3.4.0
3.3.0
3.2.0
3.1.0
3.0.1
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.0.0
0.0.5
0.0.4
0.0.3
0.0.2
Formats data into a string table.
github.com/gajus/table
gajus/table
table
/
dist
/
src
/
truncateTableData.d.ts
7 lines
(6 loc)
•
260 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
Row
}
from
'./types/internal'
;
export
declare
const
truncateString
:
(
input
:
string
,
length
:
number
) =>
string
;
/** *
@todo
Make it work with ASCII content. */
export
declare
const
truncateTableData
:
(
rows
:
Row
[],
truncates
:
number
[]
) =>
Row
[];