Thumbor URL builder
Fork of: Thumbor client for JavaScript.
Installation
npm i vanilla-thumbor-url-builder
Declare in JS
;const thumbor = "my_key" "https://my-site.com/thumbs";
Generate your URL
const thumborize = thumbor ;
Example
// .env thumborKey = "gr4mf3t3gsg4g3g3d3d";thumborUrl = "https://my-site.com/thumbs"; // thumborize.js ;const thumbor = processenvthumborKey processenvthumborUrl; const thumborize = { return thumbor ;}; ;