commonform-archaic
v2.0.1
Published
annotate Common Forms containing archaism
Downloads
7
Maintainers
Readme
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
}
]
)