thumbor-lite

    0.1.8 • Public • Published

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

    Keywords

    none

    Install

    npm i thumbor-lite

    DownloadsWeekly Downloads

    4,285

    Version

    0.1.8

    License

    MIT

    Unpacked Size

    13.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • robb.traister