Use ilovepdf.com API without API Key
AddTask.process()
, andTask.download()
methods- Add signatures method on
ILovePDF
class (see https://developer.ilovepdf.com/docs/api-reference#create-signature)
For Task.process()
, see https://developer.ilovepdf.com/docs/api-reference#process
import {ILovePDF} from 'ilovepdf-freedom';
const instance = new ILovePDF();
(async () => {
const task = await instance.newTask('officepdf');
await task.addFileLocal('./file.docx', 'file_name');
const response = await task.process({});
console.log(response);
})();