Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 682 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 682 Bytes

ThumborUrlBuilder

Thumbor client for Node JS

Combination of

Neither of these repos are updating anymore so we are maintaining our own

Usage

# Install thumbor module

npm install thumbor
// Declare thumbor-url-builder in JS
// Your encryption key is not required, but your link will be unsafe.

var Thumbor = require('thumbor');
var thumbor  = new Thumbor('MY_KEY', 'http://myserver.thumbor.com');

// Generate your url :

var thumborUrl = thumbor.setImagePath('00223lsvrnzeaf42.png').resize(50,50).buildUrl();