A command line interface for Yumdocs, a template engine for Word, PowerPoint and Excel.
Yumdocs is fully documented at https://www.yumdocs.com.
This project is MIT Licensed like its 3rd party components:
Copyright (c) 2022 - Jacques L. Chereau. All rights reserved.
Download and install nodeJS v16+ from https://nodejs.org/.
Open a terminal window and run:
npm i -g @yumdocs/yumdocs-cli
-
Create a Word document named
input.docx
, type{{field}}
and save it in the project directory. -
In the same project directory, create a file named
data.json
, and copy-paste:
{
"field": "Anything you see fit"
}
-
Open a terminal window in the project directory and run
yumdocs input.docx data.json output.docx
. -
output.docx
has been generated and the{{field}}
placeholder has been replaced withAnything you see fit
.