resizer-app
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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