You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ooxml-signature-pages

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ooxml-signature-pages

Generate OOXML markup for signature pages

3.2.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

ooxml-signature-pages

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

Blank 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')

Pre-Filled Pages

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

Package last updated on 28 Mar 2023

Did you know?

Socket

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.

Install

Related posts