-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcaptions.js
More file actions
23 lines (21 loc) · 728 Bytes
/
Copy pathcaptions.js
File metadata and controls
23 lines (21 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* Creates an instance of the node-captions module. This module allows you to convert from
* one caption format to another. See the README.
* @module node-captions
* @version 0.0.1
* @author Jason Rojas <jason@nothingbeatsaduck.com>
* @see http://github.com/jasonrojas/node-captions
* @returns An instance of the node-captions module.
*/
var iconv = require('iconv-lite');
iconv.extendNodeEncodings();
module.exports = {
scc: require('./lib/scc.js'),
srt: require('./lib/srt.js'),
smi: require('./lib/smi.js'),
vtt: require('./lib/vtt.js'),
smpte_tt: require('./lib/smpte_tt.js'),
ttml: require('./lib/ttml.js'),
time: require('./lib/time.js'),
macros: require('./lib/macros.js')
};