Skip to main content
Use the zero-dependency core package in browsers, Node.js, edge runtimes, or frameworks without a dedicated adapter.
Use cdn.url(fileId, transforms) and cdn.srcset(fileId, options) for Convertly Storage files.

Responsive width defaults

defaultWidths(baseWidth) returns a practical responsive width list capped at 4,000 pixels and twice the requested base width.