JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q48073F
  • License BlueOak-1.0.0

annotate Common Forms containing archaism

Package Exports

  • commonform-archaic

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-archaic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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
    }
  ]
)