https://github.com/aymen94/imgproxyclientjs
https://github.com/aymen94/imgproxyclientjs
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aymen94/imgproxyclientjs
- Owner: aymen94
- Created: 2022-08-11T10:00:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T12:25:09.000Z (almost 3 years ago)
- Last Synced: 2024-04-23T23:55:41.625Z (about 1 year ago)
- Language: TypeScript
- Size: 214 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Javascript client for [imgproxy](https://imgproxy.net/).
//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");