crops

2.0.0 • Public • Published

crops

Server for dynamically resizing images on the fly

Point at any valid file server and crops will stream the response through Graphicsmagick to the client. Crops sits well between an image file server and a CDN.

build status

install

With npm do:

npm install crops

Crops requires graphicsmagick so make sure that is installed

example

var crops = require('crops')
 
crops('https://npm-crops.s3.amazonaws.com/').listen(3000)
$ curl http://localhost:3000/image.jpg
$ curl http://localhost:3000/160x90/image.jpg
$ curl http://localhost:3000/400x220/image.jpg

license

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i crops

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • timhudson