string-is

2.0.1 • Public • Published

string-is

characters checking for javascript

usage

string-is contains these functions:

  • is.numeric
  • is.upperAlpha
  • is.lowerAlpha
  • is.alpha
  • is.alphaNumeric
  • is.space
  • is.printable

every one of these functions accept string, array of string, array of char code or buffer and then return true if the condition is satisfied.

example:

const is = require('string-is')

is.alphaNumeric('This is number 0') // returns true

changes

2.0.1

  • change to functional style

2.0.0

  • remove polyfill
  • support for array of string
  • support for array of char codes
  • support for buffer

1.0.3

  • fix version 1.0.2 which I forgot to build before publish

1.0.2

  • fix is.printable('\n\f\r\t') (before it return false)

license

MIT

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i string-is

    Weekly Downloads

    0

    Version

    2.0.1

    License

    MIT

    Last publish

    Collaborators

    • arch-mage