local_placeholder_image
v0.0.2
Published
Used when generating dummy placeholder images in the local environment
Downloads
4
Readme
Dummy PlaceHolder Image For Local
Used when generating dummy placeholder images in the local environment
Demo
Requirement
- aheckmann/gm
- imagemagick
- graphicsmagick
Usage
- Install
imagemagick
andgraphicsmagick
- For Mac
brew install imagemagick
brew install graphicsmagick
- For Mac
npm i local_placeholder_image
local_placeholder_image start
- Access Image
http://localhost:9999/タイトル/テキスト/300x200.png
<img src="http://localhost:9999/タイトル/テキスト/300x200.png" />
local_placeholder_image start
Options:
-p, --port <value> PORT Number (default: 9999)
-h, --help output usage information
Attention
- Even if
imagemagick
orgraphicsmagick
is not installed,express
itself starts, but the image is not displayed and only a blank page is displayed.