Skip to content

spezifisch/imgproxyjs

 
 

Repository files navigation

imgproxyjs

npm npm npm bundle size

This fork adds:

  • presetOnly option
  • dependency updates

Javascript client (nodejs/browser) for imgproxy

import { ImgProxy } from '@spezifisch/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

Languages

  • TypeScript 91.1%
  • JavaScript 7.1%
  • HTML 1.8%