Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tiaanduplessis/codebar-regex

Open more actions menu

Repository files navigation

codebar-regex

Regular expression for matching codebar barcode



Built with ❤︎ by Tiaan and contributors

Table of Contents

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

    Greenkeeper badge

    $ 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.

    About

    Regular expression for matching codebar barcode

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published
    Morty Proxy This is a proxified and sanitized view of the page, visit original site.