npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

gulp-iconv

0.0.1 • Public • Published

gulp-iconv NPM version Build status Coverage Status dependencies dev dependencies

Run ashtuchkin/iconv-lite and translate encoding.

Iconv in gulp.

Install

$ npm install --save-dev gulp-iconv

Usage

var gulp = require('gulp');
var iconv = require('gulp-iconv');
 
gulp.task('default', function () {
  return gulp.src('index.html')
    .pipe(iconv({
      decoding: 'euc_jp',
      encoding: 'shift_jis'
    }));
});

API

iconv(options)

options

decoding

Type: string Default: 'utf8'

The encoding of input stream. See Supported encodings.

encoding

Type: string Default: 'utf8'

The encoding of output stream. See Supported encodings.

install

npm i gulp-iconv

Downloadsweekly downloads

10

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability