@amauryliet/docx_generation
v1.0.3
Published
poc for docx template filling
Downloads
3
Readme
Docx template filling
V1: a script to run locally
Future version(s): tooling web-hosted (included in existing WordPress, or independent)
Installation
Prerequisites:
- node
Then
- install dependencies:
yarn
- try cli script:
./cli.js
Deployment
yarn build && npm publish --access public
Client usage
Only for mac
Initial setup
Install node curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"
Using the script
rm -rf ~/.npm/_npx && npx --yes @amauryliet/docx_generation
(rm -rf needed because npx cache never expires...)