4.0.1 • Published 4 years ago

repng v4.0.1

Weekly downloads
123
License
MIT
Repository
github
Last release
4 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

4 years ago

4.0.0

4 years ago

3.2.0

5 years ago

3.1.1

5 years ago

3.1.0

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

1.0.1

6 years ago

2.0.0-alpha.1

7 years ago

1.0.0

7 years ago

1.0.0-b8

7 years ago

1.0.0-b7

7 years ago

1.0.0-b6

7 years ago

1.0.0-b5

7 years ago

1.0.0-b4

7 years ago

1.0.0-b3

8 years ago

1.0.0-b2

8 years ago

1.0.0-b1

8 years ago

1.0.0-b0

8 years ago