Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 510 Bytes

File metadata and controls

40 lines (27 loc) · 510 Bytes

node-imageserver

npm version

Simple node-imageserver

Pull Requests welcome!

Installation

npm install node-imageserver

or

yarn add node-imageserver

Config

see config.js

Usage

http://<server>:<port>/image/<imagename>/<extension>/<width>/<height>

Example

http://localhost:3000/image/example/jpg/300/200

Supported extensions:

  • jpg
  • png
  • webp
  • tiff