https://github.com/digitalbazaar/aamva-parse
https://github.com/digitalbazaar/aamva-parse
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/digitalbazaar/aamva-parse
- Owner: digitalbazaar
- License: bsd-3-clause
- Created: 2021-02-03T18:12:29.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-04T22:52:07.000Z (over 5 years ago)
- Last Synced: 2025-04-14T21:07:14.657Z (about 1 year ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 4
- Watchers: 12
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# aamva-parse _(@digitalbazaar/aamva-parse)_
> JavaScript library for parsing data scanned from aamva-compliant driver's license
## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [Commercial Support](#commercial-support)
- [License](#license)
## Install
To install from `npm`:
```
npm install @digitalbazaar/aamva-parse
```
To install locally (for development):
```
git clone https://github.com/digitalbazaar/aamva-parse.git
cd aamva-parse
npm install
```
## Usage
```js
import {parse} from '@digitalbazaar/aamva-parse';
const t = parse({text: scannedText});
// Example output
// t -> { dob: '10311958', docId: '123456-789', expiration:'10312021', issuerState: 'WY' }
```
## Contribute
Please follow the existing code style.
PRs accepted.
## Commercial Support
Commercial support for this library is available upon request from
Digital Bazaar: support@digitalbazaar.com
## License
[BSD-3-Clause](LICENSE.md) © 2021 Digital Bazaar