imgproxyjs
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

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

Package Sidebar

Install

npm i imgproxyjs

Weekly Downloads

0

Version

1.7.0

License

MIT

Unpacked Size

68.3 kB

Total Files

9

Last publish

Collaborators

  • gnurub