Thumbor client for Node JS or browser (not recommended).
Forked from thumbor, but does not rely on node.js builtins.
# Install thumbor module
npm install thumbor-lite
// Declare thumbor-url-builder in JS
// Your encryption key is not required, but your link will be unsafe.
const Thumbor = require('thumbor-lite');
const thumbor = new Thumbor('MY_KEY', 'http://myserver.thumbor.com');
// Generate your url :
let thumborUrl = thumbor.setImagePath('00223lsvrnzeaf42.png').resize(50,50).buildUrl();