Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
resizer-app
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
vendor
.gitignore
Makefile
README.md
package.json
server.js

README.md

Usage

node server.js

then open http://localhost:3000/?u=http://www.google.com/images/srpr/logo3w.png&w=300&h=100 in browser

Request params:

  • u - url of image
  • w - width (positive integer)
  • h - heigth (positive integer)
  • gravity - gravity param for imagemagick (optional)

Tests

npm test

Test coverage report available in ./coverage/index.html

Documentation

make doc

Available online: jsdoc.info

License

BSD

Something went wrong with that request. Please try again.