1.1.2 • Published 10 years ago

gulp-flex-svg v1.1.2

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

gulp-flex-svg

NPM version Build Status Build status Coverage Status Dependency Status devDependency Status

flex-svg plugin for gulp

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="50px" height="50px">
</svg>

↓

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg">
</svg>

Installation

Use npm.

npm install --save-dev gulp-flex-svg

API

const flexSvg = require('gulp-flex-svg');

flexSvg(options)

options: Object (directly passed to the xml2js.Parser options and the xml2js.Builder options)
Return: Object (stream.Transform)

const gulp = require('gulp');
const flexSvg = require('flex-svg');

gulp.task('default', () => {
  return gulp.src('src/**/*.svg')
    .pipe(flexSvg())
    .pipe(gulp.dest('dist'));
});

License

Copyright (c) 2014 - 2015 Shinnosuke Watanabe

Licensed under the MIT License.

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

11 years ago

1.0.0

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.0

11 years ago