Skip to content

Javascript client (nodejs/browser) for imgproxy.

Notifications You must be signed in to change notification settings

GNURub/imgproxyjs

Repository files navigation

Build Status npm npm npm bundle size

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");

About

Javascript client (nodejs/browser) for imgproxy.

Resources

Stars

Watchers

Forks

Packages

No packages published