gulp-poedit-to-json

1.0.2 • Public • Published

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'});
});

/gulp-poedit-to-json/

    Package Sidebar

    Install

    npm i gulp-poedit-to-json

    Weekly Downloads

    7

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • stefanodotit