ImageBoss for Node.js
To generate ImageBoss URLs from your Node.js backend, check out our ImageBoss Helper for JavaScript & Node.js on Github.
It supports CommonJS and ESM, so you can use it in modern and legacy Node.js apps.
Install
npm install imageboss-js
Basic usage
const imageboss = require('imageboss-js');
const image = imageboss('YOUR_SOURCE', {
operation: 'cover',
width: 1200
});
const imageUrl = image.url('/images/photo.jpg');
If you need browser-side integration, see the JavaScript integration page.
If you have any questions please don't hesitate, send us a message on support[at]imageboss.me.