Age Verification context for JSON-LD.
npm install @digitalbazaar/age-verification-context

> Age Verification context for JSON-LD.
- Background
- Install
- Usage
- Commercial Support
- License
TBD
Requires Node.js 14+
To install via NPM:
```
npm install @digitalbazaar/age-verification-context
`js
import ageCtx from '@digitalbazaar/age-verification-context';
// or
const ageCtx = require('@digitalbazaar/age-verification-context');
const {contexts, constants} = ageCtx;
ageCtx.CONTEXT_URL_V1
// 'https://w3id.org/age/v1'
// get context data for a specific context
ageCtx.CONTEXT_V1
// full context object
`
This package can be used with bundlers, such as [webpack][], in browser
applications.
The library exports the following properties:
- CONTEXT_URL_V1 and CONTEXT_V1 (it's recommended that context repositories only export one context).constants
- : A Object that maps constants to well-known context URLs. TheCONTEXT_URL_V1
main constant may be updated from time to time to thecontexts
latest context location.
- : A Map` that maps URLs to full context data.
Commercial support for this library is available upon request from
Digital Bazaar: support@digitalbazaar.com
- BSD 3-Clause © Digital Bazaar
- See the LICENSE file for details.
[webpack]: https://webpack.js.org/