1.0.0 • Published 5 years ago

commonform-mscd v1.0.0

Weekly downloads
5
License
BlueOak-1.0.0
Repository
github
Last release
5 years ago

This package is not endorsed by Ken Adams.

var mscd = require('commonform-mscd')
var assert = require('assert')
var 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
    }
  ]
)