local_placeholder_image

0.0.2 • Public • Published

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 or graphicsmagick 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

Readme

Keywords

none

Package Sidebar

Install

npm i local_placeholder_image

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

1.67 MB

Total Files

8

Last publish

Collaborators

  • gerolian