Socket
Socket
Sign inDemoInstall

doubleplus-numbers

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    doubleplus-numbers

Common Form annotator to find and identify redundant and repeated number(s) and numeral(s)


Version published
Weekly downloads
546
decreased by-17.15%
Maintainers
1
Install size
37.3 kB
Created
Weekly downloads
 

Readme

Source

doubleplus-numbers

doubleplus-numbers provides a Common Form annotator to find and identify redundant and repeated number(s) and numeral(s).

Build Status

var assert = require('assert')
var annotator = require('doubleplus-numbers')

assert.deepEqual(
  annotator({ content: [ 'Give me two (2) of those. Four (4) of the other one, too.' ] }),
  [ { message: '"two (2)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null },
    { message: '"Four (4)" repeats a written number and numeral, which is redundant and error-prone',
      level: "info",
      path: [ 'content', 0 ],
      source: 'doubleplus-numbers',
      url: null } ])

Keywords

FAQs

Last updated on 10 Sep 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc