Namespace, Primitive, Method
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    gulp-messageformatpublic

    gulp-messageformat

    Gulp plugin for Messageformat

    Install

    npm install gulp-messageformat --save-dev

    Usage

    Returns compiled and concated file.

    var gulp = require('gulp');
    var messageFormat = require('gulp-messageformat');
     
    gulp.task('compile', function() {
      gulp.src('src/**/*.json')
        .pipe(messageFormat({locale:'en'}))
        .pipe(gulp.dest('dist/');
    });

    Options

    locale

    Type: string

    Values: see messageformatjs locale option

    module

    Type: string

    Values: {'commonJS', ''}

    Default: ''

    install

    npm i gulp-messageformat

    Downloadsweekly downloads

    17

    version

    0.0.10

    license

    Apache License, Version 2.0

    repository

    githubgithub

    last publish

    collaborators

    • avatar