Socket
Book a DemoInstallSign in
Socket

gulp-inkscape

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-inkscape

gulp inkscape

1.1.2
latest
Source
npmnpm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

gulp-inkscape

Installing

  • inkscapeをインストールします(ストア版は不可)
  • npm i gulp-inkscape でパッケージをインストールします。

Usage

const inkscape = require("gulp-inkscape")
gulp.src("path/**/*.svg")
  .pipe(inkscape({ args: ["-T"] }))

option

inkscapeのコマンドラインのドキュメントも併せてお読みください。
両方指定しない場合でも必ず{}を含めてください。

args

コマンドラインオプションを配列で記述します。Usageでは-Tを指定することで、テキストをパスに変換しています。

exportType

デフォルトはplain-svgです。--export--から末尾までを指定します。

TODO

現状の優先度はかなり低いがGitHubのスターが増えたらやる可能性があること

  • ストリームでの動作確認
  • コマンドラインオプションを配列で記述するのではなく、オプションの値決めるようにする

About the author

https://tamaina.github.io

Keywords

gulpplugin

FAQs

Package last updated on 25 Jul 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.