1.1.2 ā€¢ Published 9 years ago

gulp-flex-svg v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 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

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.0

10 years ago