November: Procrastination Month
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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

install

npm i express-dummy-image

Downloadsweekly downloads

3

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability