Perpustakaan JavaScript ngidini pangembang Node.js via .NET bisa ngowahi file DOCX kanthi gampang. Mesin konversi DOCX nganalisa tata letak lan gaya DOCX asli, banjur ngekspor konten gabungan menyang format sing dibutuhake.
Konversi DOCX bisa uga angel, kajaba sampeyan duwe alat profesional kanggo nindakake tugas kasebut. Gunakake JavaScript kanggo ngowahi file DOCX kanthi keluwesan lan kacepetan maksimal. Jalanake demo langsung online lan priksa kualitas konversi DOCX sing paling dhuwur ing browser. DOCX Conversion API ndhukung akeh opsi migunani.
Ningkatake kapabilitas format DOCX nganggo Aspose.Words kanggo Node.js via .NET. Iki minangka cara sing gampang kanggo nggabungake file DOCX karo perpustakaan JavaScript sing nangani kabeh rincian tingkat rendah.
Gabung DOCX lan simpen asil minangka file siji. Yen sampeyan ngembangake kode ing JavaScript, iki bakal luwih gampang tinimbang sing katon. Deleng conto JavaScript sing ngulang dokumen DOCX lan gabungke:
npm install @aspose/words
Nyalin
const aw = require('@aspose/words');
var fileNames = [ "Input1.docx", "Input2.docx" ]
var output = new aw.Document()
// Mbusak kabeh content saka dokumen tujuan sadurunge nambah.
output.removeAllChildren()
fileNames.forEach(fileName => {
var input = new aw.Document(fileName);
// Tambahake dokumen sumber menyang pungkasan dokumen tujuan.
output.appendDocument(input, aw.ImportFormatMode.KeepSourceFormatting);
});
output.save("Output.docx");
We host our Node.js via .Net packages in NPM repositories. Please follow the step-by-step instructions on how to install "Aspose.Words for Node.js via .NET" to your developer environment.
This package is compatible with Node.js 14.17.0 or higher.
Sampeyan bisa nggabungake DOCX menyang akeh format file liyane: