age-verification-context

Age Verification Context (@digitalbazaar/age-verification-context)

Build status NPM Version

Age Verification context for JSON-LD.

Table of Contents

Background

TBD

Install

Requires Node.js 14+

To install via NPM:

npm install @digitalbazaar/age-verification-context

Usage

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.

API

The library exports the following properties:

Commercial Support

Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com

License