Javascript API Documentation

For usage in other langauges, see our URL API.


// Install via npm
npm install --save

// For use in Node.js or in browser with Webpack or Browserify
var thum = require('');
var thumURL = thum.getThumURL({
  url: '',
  width: 1200,
  auth: {
    type: 'md5',
    secret: process.env.THUM_IO_SECRET,
    keyId: 500,

GitHub Repo

Visit our JS API GitHub respository for a full list of options or to open an issue.

For any questions or feedback regarding the JS API, email