0.0.2 • Published 5 years ago

local_placeholder_image v0.0.2

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

Dummy PlaceHolder Image For Local


Used when generating dummy placeholder images in the local environment

【npm package】

Demo

sample

Requirement

Usage

  1. Install imagemagick and graphicsmagick
    • For Mac
      1. brew install imagemagick
      2. brew install graphicsmagick
  2. npm i local_placeholder_image
  3. local_placeholder_image start
  4. 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.

Anything Else

Author

TakeshiOnishi

License

MIT