Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 392 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 392 Bytes

Javascript client for imgproxy.

//create config Instance
import { ImgProxyClient } from 'imgproxyclientjs';
export const imageprxyIstance = new ImgProxyClient({url: 'https://imgproxy.test.com'}, {size:{width:40, height: 40, enlarge:true, extend:false}, background: '#ffffff'});
const finalImg = imageprxyIstance.get("http://images.com/logo.png");