0.1.9 • Published 5 years ago

thumbor-url-builder-ts v0.1.9

Weekly downloads
56
License
-
Repository
github
Last release
5 years ago

ThumborUrlBuilder TS

TypeScript client for building Thumbor URLs.

Usage

# Install thumbor-url-builder-ts module

npm install thumbor-url-builder-ts --save
import { ThumborUrlBuilder } from 'thumbor-url-builder-ts';

// Your encryption key is not required, but your link will be unsafe.
const thumbor = new ThumborUrlBuilder('MY_KEY', 'http://myserver.thumbor.com');

// Generate your url
const thumborUrl = thumbor
    .setImagePath('00223lsvrnzeaf42.png')
    .resize(50, 50)
    .smartCrop(true)
    .buildUrl();
0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago