UNPKG
@zkochan/table
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.1
1.0.0
Formats data into a string table.
github.com/gajus/table
gajus/table
@zkochan/table
/
dist
/
src
/
padTableData.d.ts
4 lines
(3 loc)
•
238 B
TypeScript
View Raw
1
2
3
4
import
type
{
BaseConfig
,
Row
}
from
'./types/internal'
;
export
declare
const
padString
:
(
input
:
string
,
paddingLeft
:
number
,
paddingRight
:
number
) =>
string
;
export
declare
const
padTableData
:
(
rows
:
Row
[],
config
:
BaseConfig
) =>
Row
[];