1.0.2 • Published 8 years ago

gulp-poedit-to-json v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

gulp-poedit-to-json

Convert all poedit file (only active string) into a new json file using the same name. Perfect for Angular2 translate.

Installation

npm install gulp-poedit-to-json --save-dev

Params

path: '/path/to/poedit/folder'

Example

var gulp = require('gulp'),
    poeditToJson = require('gulp-poedit-to-json');

gulp.task('default',['poeditToJson']);

gulp.task('poeditToJson', function(){
  return poeditToJson({ path: '/path/to/poedit/folder'});
});