JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q46154F
  • License Apache-2.0

contract provision numbering styles

Package Exports

  • commonform-number

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-number) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

commonform-number

Number the provisions of a contract

Styles

Each numbering style is an object with two string returning functions:

  1. .provision is for numbers that appear before contract provisions.
  2. .reference is for references to numbered provisions.

Each function takes an array argument with an arbitrary number of objects of the form:

{
  series: {
    number: 1,
    of: 1
  },
  element: {
    number: 1,
    of: 1
  }
}

.number and .of values start at 1, not at 0.

The first element is the numbering of the provision's highest-level parent provision. The last element is the numbering for the provision of interest.