Regular expression for matching codebar barcode
Built with ❤︎ by Tiaan and contributors
$ npm install --save codebar-regex
# OR
$ yarn add codebar-regex
const codebarRegex = require('codebar-regex')
console.log(codebarRegex().test('A40156B')) // true
console.log(codebarRegex().test('A31117013206375B')) // true
$ npm install --global codebar-regex
# OR
$ yarn global add codebar-regex
Then:
$ codebar A40156B
# true
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.
Licensed under the MIT License.