🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

codebar-regex

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

codebar-regex

Regular expression for matching codebar barcode

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

codebar-regex

Regular expression for matching codebar barcode

Package version Downloads Standard Travis Build Standard Readme GitHub version Dependency CI License PRs Donate


Built with ❤︎ by Tiaan and contributors

Table of Contents

Table of Contents
  • Install
  • Usage
  • CLI
  • Contribute
  • License
  • Install

    $ npm install --save codebar-regex
    # OR
    $ yarn add codebar-regex
    

    Usage

    
    const codebarRegex = require('codebar-regex')
    
    console.log(codebarRegex().test('A40156B')) // true
    
    console.log(codebarRegex().test('A31117013206375B')) // true
    
    

    CLI

    $ npm install --global codebar-regex
    # OR
    $ yarn global add codebar-regex
    

    Then:

    $ codebar A40156B
    # true
    

    Contribute

    Contributions are welcome. Please open up an issue or create PR if you would like to help out.

    Note: If editing the README, please conform to the standard-readme specification.

    License

    Licensed under the MIT License.

    Keywords

    regex

    FAQs

    Package last updated on 16 Apr 2017

    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