commonform-archaic

2.0.1 • Public • Published

commonform-archaic

annotate Common Forms containing archaism

var archaic = require('commonform-archaic')
var assert = require('assert')
 
assert.deepStrictEqual(
  archaic({ content: ['comes now the owner thereof'] }),
  [
    {
      message: 'The phrase "comes now" is archaic.',
      level: 'info',
      path: ['content', 0],
      source: 'commonform-archaic',
      url: null
    },
    {
      message: 'The word "thereof" is archaic.',
      level: 'info',
      path: ['content', 0],
      source: 'commonform-archaic',
      url: null
    }
  ]
)

/commonform-archaic/

    Package Sidebar

    Install

    npm i commonform-archaic

    Weekly Downloads

    4

    Version

    2.0.1

    License

    BlueOak-1.0.0

    Unpacked Size

    3.4 kB

    Total Files

    4

    Last publish

    Collaborators

    • kemitchell