Image-fns
Project Status
‼️ Work in progress. The API will be changed. Do not use it. Really. ‼️
Image-fns provides toolset for manipulating images in a browser
Install
npm install image-fns
or
yarn add image-fns
Usage
Simple example
const input = documentconst preview = document input const append = preview
Async / await
const convertToBetterFormat = async { const formats canvas = await Promiseall let format = 'jpeg' if formats format = 'webp' else if format = 'png' return } input
Security issues
If you think you ran into something in Uploadcare libraries which might have security implications, please hit us up at bugbounty@uploadcare.com or Hackerone.
We'll contact you personally in a short time to fix an issue through co-op and prior to any public disclosure.
Feedback
Issues and PR‘s are welcome. You can provide your feedback or drop us a support request at hello@uploadcare.com.