@amauryliet/docx_generation

1.0.3 • Public • Published

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...)

/@amauryliet/docx_generation/

    Package Sidebar

    Install

    npm i @amauryliet/docx_generation

    Weekly Downloads

    1

    Version

    1.0.3

    License

    UNLICENSED

    Unpacked Size

    131 kB

    Total Files

    20

    Last publish

    Collaborators

    • amauryliet