imgproxyjs
v1.7.0
Published
ImgProxy javascript client for node/browser
Downloads
5
Readme
Javascript client (nodejs/browser) for imgproxy.
import imgproxyjs from 'imgproxyjs';
const { ImgProxy } = imgproxyjs;
const instance = new ImgProxy({url: 'https://imgproxy.test.com'}, {size:{width:40, height: 40, enlarge:true, extend:false}, background: '#ffffff'});
const finalImg = instance.get("http://images.com/logo.png");