This package is not endorsed by Ken Adams.
import mscd from 'commonform-mscd'
import assert from 'assert'
const form = { content: ['This contract is void ab initio.'] }
assert.deepStrictEqual(
mscd(form),
[
{
level: 'info',
message: (
'Use standard English instead of "ab initio".' +
' See MSCD 13.376-13.377.'
),
path: ['content', 0],
source: 'commonform-mscd',
url: null
}
]
)