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 react-image-file-resizer with all npm packages installed. Try it out:

var reactImageFileResizer = require("react-image-file-resizer")

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

react-image-file-resizer v0.4.8

React module that can rescaled local images. You can change image's width, height, format, rotation and quality. It returns resized image's new base64 URI or Blob. The URI can be used as the source of an <Image> component.

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