express-dummy-image
v1.0.2
Published
middleware for Express to serve dummy image
Downloads
6
Readme
express dummy image
middleware for Express to serve dummy image
Requirement
Usage
var express = require('express')
var dummy = require('express-dummy-image')
var app = express()
app.use('/images', dummy())
app.listen(3000)
get:
http://localhost:3000/images/?w=70&h=70
http://localhost:3000/images/?w=400&h=300
see also example directory.
Install
npm install express-dummy-image