repng

React component to PNG converter

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerjxnblk/repng
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:
所有者活动
Created At2016-11-07 00:03:23
Pushed At2021-10-31 14:14:24
Last Commit At2020-05-03 19:26:19
Release Count9
Last Release Namev3.2.0 (Posted on 2019-03-08 11:15:05)
First Release Namev1.0.0 (Posted on 2017-04-19 20:20:21)
用户参与
Stargazers Count892
Watchers Count15
Fork Count60
Commits Count103
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count19
Pull Requests Open Count0
Pull Requests Close Count7
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private