A simplified interface to the CloudConvert API.
npm install cloudconverter
const cloudConverter = require("cloud-converter");
(async () => {
await cloudConverter("input.png", "output.jpg", { apiKey: ... }); // Convert PNG to JPG
})();
Type: string
The input filename.
Type: string
The output filename.
Type: object
Type: string
The CloudConvert API key.
Type: boolean
Default: false
Use sandbox mode.
Type: ReadableStream
The input stream.
Type: WritableStream
The output stream.
Type: string
The format to convert to.
Type: object
See options.