Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crops

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crops

Server for dynamically resizing images on the fly

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 31 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc