New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

chc-posix

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chc-posix

Character Classes according to POSIX

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

chc-posix

Character Classes according to POSIX

Depends on chc and offers predefined charsets according POSIX.

Table of contents

  • Get Started
  • API

Get Started

const chc = require('chc-posix');

const cs = chc.posix('upper');
// RETURN new CharSet() containing A-Z

cs.next();
// RETURN 'A'

See chc for details about class CharSet.

API

  • chc.CharSet chc.posix(string name)
    Create an CharSet instance containing specified characters. Argument name may be:
    • lower
    • upper
    • number
    • alpha
    • alnum
    • xdigit

Keywords

lower

FAQs

Package last updated on 02 Mar 2018

Did you know?

Socket

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