express-dummy-image

1.0.2 • Public • Published

express dummy image

middleware for Express to serve dummy image

NPM

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

License

MIT

NotoSans-Regular.ttf

Apache License, version 2.0

Readme

Keywords

Package Sidebar

Install

npm i express-dummy-image

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • tgfjt