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:
.provisionis for numbers that appear before contract provisions..referenceis 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.