gulp-srt-to-json
v1.0.0-alpha
Published
Convert SRT subtitle files into JSON format.
Downloads
13
Maintainers
Readme
gulp-srt-to-json
Convert SRT subtitle files into JSON format using parseSRT.
Installation
npm install gulp-srt-to-json
Usage
const gulp = require('gulp');
const srtToJson = require('gulp-srt-to-json');
gulp.task('default', function () {
gulp.src('src/subtitles/**/*.srt')
.pipe(srtToJson())
.pipe(gulp.dest('dist/subtitles'))
})
Support
If you want to request new features or find any bugs, please open a ticket on the issues page and I'll review it as soon as possible.
Authors and Contributors
Created by Luís Rodrigues (@MrSlide)
License and copyright
Released under the MIT license
Copyright (c) 2016 Luís Rodrigues