For usage in other langauges, see our URL API.
// Install via npm npm install --save thum.io // For use in Node.js or in browser with Webpack or Browserify var thum = require('thum.io'); var thumURL = thum.getThumURL({ url: 'https://www.facebook.com', width: 1200, auth: { type: 'md5', secret: process.env.THUM_IO_SECRET, keyId: 500, }, });
Visit our JS API GitHub respository for a full list of options or to open an issue.