Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including picly_resize with all npm packages installed. Try it out:

var piclyResize = require("picly_resize")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

picly_resize v1.0.0

## Action name: _resize_ This Picly core addin resizes an image to a different width or height. If one of the parameters are missin, resize addin maintains aspect ratio of the image. If width and height parameters are set, then the addin force image to those dimensions. If no parameters are set, then the image will be set to 120 pixels width. In any case, minimun value between width set in the parameter and the image width will be considered, the same for height parameter.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free