UNPKG
srt-validator
Version:
latest (6.0.4)
6.0.4
6.0.3
6.0.1
5.1.6
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.0
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.3
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
2.1.0
2.0.0
1.0.0
<h1 align="center">SrtValidator</h1>
github.com/taoning2014/srt-validator
taoning2014/srt-validator
srt-validator
/
dist
/
parser
/
serialize.d.ts
8 lines
(7 loc)
•
245 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Parsed
}
from
'../utils/types'
;
/** * Builds the file contents of an SRT given an array of SRTChunks *
@param
{
Array
}
srtChunks
*
@return
{
String
} */
export
default
function
serialize
(
srtChunks
:
Parsed
[],
format
?:
string
):
string
;