JSPM

  • Created
  • Published
  • Downloads 86
  • Score
    100M100P100Q52641F
  • License Apache-2.0

render Common Forms in Office Open XML

Package Exports

  • commonform-docx

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (commonform-docx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

The exported function takes three arguments:

  1. A Common Form

  2. An Object map of fill-in-the-blank values

  3. An options Object

The options object must contain:

  1. A numbering property whose value is an abstract numbering

It may contain:

  1. A title property whose value is a string

The function returns a JSZip Object primed with .docx document data.