Skip to content

Allows importing this library using ES6 import parseBarcode from 'gs1-barcode-parser'#2

Open
zedtux wants to merge 3 commits intohprange:masterfrom
zedtux:patch-1
Open

Allows importing this library using ES6 import parseBarcode from 'gs1-barcode-parser'#2
zedtux wants to merge 3 commits intohprange:masterfrom
zedtux:patch-1

Conversation

@zedtux
Copy link

@zedtux zedtux commented Jul 17, 2024

This PR adds a default export of the parseBarcode function so that we can import it using the ES6 style:

import parseBarcode from 'gs1-barcode-parser'

parseBarcode(barcode)

@zedtux
Copy link
Author

zedtux commented Jul 17, 2024

Please fixup or squash the commits 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant