Skip to content

robbtraister/thumbor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thumbor-Lite

Thumbor client for Node JS or browser (not recommended).

Forked from thumbor, but does not rely on node.js builtins.

Usage

# 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();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%