@mapado/image-url-builder
v2.0.2
Published
Build mapado image in JS
Downloads
1
Keywords
Readme
Mapado Image JS Url Builder
Installation
npm install "@mapado/image-url-builder"
or with yarn:
yarn add "@mapado/image-url-builder"
Usage
import { buildUrl } from '@mapado/image-url-builder';
const fullWidthImage = buildUrl(imagePath);
const cropedImage = buildUrl(imagePath, 400, 300);