Socket
Socket
Sign inDemoInstall

gulp-svg2png

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-svg2png

A gulp plugin for converting SVGs to PNGs.


Version published
Weekly downloads
3.8K
decreased by-20.89%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-svg2png Build Status

A gulp plugin for converting SVGs to PNGs.

Usage

First, install gulp-svg2png as a development dependency:

npm install --save-dev gulp-svg2png

Then, add it to your gulpfile.js:

var svg2png = require('gulp-svg2png');

gulp.task('svg2png', function () {
    gulp.src('./specs/assets/**/*.svg')
        .pipe(svg2png())
        .pipe(gulp.dest('./build'));
});

Arguments

svg2png([scaling])

scaling

The scaling factor (optional; default=1.0)

Changelog

See HISTORY.md

Author

Copyright 2014, André König (andre.koenig@posteo.de)

Keywords

FAQs

Package last updated on 09 Jul 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc