4.0.1 • Published 5 years ago

repng v4.0.1

Weekly downloads
123
License
MIT
Repository
github
Last release
5 years ago

repng

React component to PNG converter, built with Puppeteer

npm.io

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 (or path to JSON file) to pass to the React component
  -t --type       Type of ouptut (png default) (pdf, jpeg or png)
  --css           Path to CSS file to include
  --webfont       Path to custom webfont for rendering
  --puppeteer     Options for Puppeteer in JSON format

Related

MIT License

4.0.1

5 years ago

4.0.0

5 years ago

3.2.0

6 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

1.0.1

8 years ago

2.0.0-alpha.1

8 years ago

1.0.0

8 years ago

1.0.0-b8

8 years ago

1.0.0-b7

8 years ago

1.0.0-b6

8 years ago

1.0.0-b5

8 years ago

1.0.0-b4

9 years ago

1.0.0-b3

9 years ago

1.0.0-b2

9 years ago

1.0.0-b1

9 years ago

1.0.0-b0

9 years ago