ooxml-signature-pages
Advanced tools
Weekly downloads
Readme
Given an Array of signature page objects satisfying signature-page-schema, return a string of Office Open XML (Microsoft Word .docx
) markup.
var assert = require('assert')
var signaturePages = require('ooxml-signature-pages')
var blankPages = signaturePages([
{
header: (
'The parties are signing this agreement ' +
'on the dates by their signatures.'
),
entities: [
{
name: 'SomeCo, Inc.',
form: 'corporation',
jurisdiction: 'Delaware',
by: 'Chief Executive Officer'
}
],
information: ['date']
},
{
samePage: true,
information: ['date']
}
])
assert(typeof blankPages === 'string')
var preFilled = signaturePages([
{
entities: [
{
name: 'SomeCo, Inc.',
form: 'corporation',
jurisdiction: 'Delaware',
by: 'Chief Executive Officer'
}
],
name: 'Jane Manager',
information: {
date: 'January 1, 2019',
email: 'jane@someco.com',
'with copies to': 'legal@someco.com'
}
},
{
samePage: true,
name: 'John Doe',
information: {
date: 'January 2, 2019'
}
}
])
assert(typeof preFilled === 'string')
assert(preFilled.includes('With Copies To'))
FAQs
Generate OOXML markup for signature pages
The npm package ooxml-signature-pages receives a total of 635 weekly downloads. As such, ooxml-signature-pages popularity was classified as not popular.
We found that ooxml-signature-pages demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.