🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

gulp-svg-to-jsx

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-svg-to-jsx

Gulp wrapper for svg-to-jsx

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
4
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-svg-to-jsx

This is a gulp wrapper for svg-to-jsx package. Please see svg-to-jsx documentation for options and usage.

Installation

gulp-svg-to-jsx is a node module. To install you have to have Node.js and NPM installed on your machine.

npm install gulp-svg-to-jsx

Usage

The basics of using gulp are covered here. To use gulp-svg-to-jsx simply pipe the SVG file stream in:

var gulp = require('gulp');
var svgToJsx = require('gulp-svg-to-jsx');

// See docs for svg-to-jsx for info on options
// You can also skip passing options to use defaults
var options = {};

gulp.task('svg', function() {
	return gulp.src('svg/*.svg')
		.pipe(svgToJsx(options))
		.pipe(gulp.dest('build/jsx'));
});

Keywords

gulp

FAQs

Package last updated on 12 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts