1.0.3 • Published 2 years ago

@warren-bank/node-ttml2srt-cli v1.0.3

Weekly downloads
1
License
GPL-2.0
Repository
github
Last release
2 years ago

ttml2srt

An extremely lightweight command-line utility to convert a subtitle file from .ttml to .srt format


Installation (global w/ npm):

npm install --global @warren-bank/node-ttml2srt-cli

Binary (global):

ttml2srt '/path/to/input.ttml' '/path/to/output.srt'

Installation (local w/ wget via github):

mkdir 'workspace'
cd    'workspace'

wget --content-disposition --no-check-certificate 'https://github.com/warren-bank/node-ttml2srt-cli/archive/master.zip'
unzip 'node-ttml2srt-cli-master.zip'
rm -f 'node-ttml2srt-cli-master.zip'

cd 'node-ttml2srt-cli-master'
npm install

Binary (local):

npm start -- '/path/to/input.ttml' '/path/to/output.srt'

Credits:

  • this project merely adds a CLI wrapper to easily access and use the library: ttml2srt

Legal:

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

5 years ago

1.0.0

5 years ago