repng

React component to PNG converter

Github星跟蹤圖

repng

React component to PNG converter, built with Puppeteer

npm i -g repng
repng Icon.js --width 512 --height 512 --out-dir assets
Usage
  $ repng <ReactComponent>

Options
  -d --out-dir    Directory to save file to
  -f --filename   Specify a custom output filename
  -w --width      Width of image
  -h --height     Height of image
  -p --props      Props in JSON format to pass to the React component
  --css           Path to CSS file to include
  --webfont       Path to custom webfont for rendering

MIT License

主要指標

概覽
名稱與所有者jxnblk/repng
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證
所有者活动
創建於2016-11-07 00:03:23
推送於2021-10-31 14:14:24
最后一次提交2020-05-03 19:26:19
發布數9
最新版本名稱v3.2.0 (發布於 2019-03-08 11:15:05)
第一版名稱v1.0.0 (發布於 2017-04-19 20:20:21)
用户参与
星數892
關注者數15
派生數60
提交數103
已啟用問題?
問題數0
打開的問題數0
拉請求數19
打開的拉請求數0
關閉的拉請求數7
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?