0.0.1 • Published 4 years ago
@pallard-src-poc/ott-fe-bff-utils v0.0.1
@cbcradcan/ott-fe-bff-utils
This library contains non-generic utilities that are bound to the BFF.
Building
Run nx build ott-fe-bff-utils to build the library.
Running unit tests
Run nx test ott-fe-bff-utils to execute the unit tests via Jest.
Genrating documentation
Run nx documentation ott-fe-bff-utils to generate Typedoc documentation.
Class documentation
Table of contents
Namespaces
Namespace: images
Table of contents
Functions
Functions
getImageResized
▸ getImageResized(url, size?, quality?): string
Returns the URL with proper query string parameters for image resizing and quality.
Parameters
| Name | Type |
|---|---|
url | string |
size? | null | number |
quality? | null | number |
Returns
string