@amauryliet/sandbox
v1.0.23
Published
poc for docx template filling
Downloads
54
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
(npx cache never expires...)