
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
ooxml-signature-pages
Advanced tools
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
We found that ooxml-signature-pages demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.