JSPM

bedrock-web-local-vc-store

3.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q49956F

A JavaScript library for locally storing Verifiable Credentials for Bedrock web apps.

Package Exports

  • bedrock-web-local-vc-store

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bedrock-web-local-vc-store) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Bedrock Local Verifiable Credentials Store (bedrock-web-local-vc-store)

A Javascript library for locally storing Verifiable Credentials for Bedrock web apps

Table of Contents

Background

TBD

See also (related specs):

Install

  • Node.js 12+ is required.

NPM

To install via NPM:

npm install bedrock-web-local-vc-store

Development

To install locally (for development):

git clone https://github.com/digitalbazaar/bedrock-web-local-vc-store.git
cd bedrock-web-local-vc-store
npm install

Usage

import {LocalVerifiableCredentialStore} from 'bedrock-web-local-vc-store';

const dbName = 'example-db';
const localVcStore = new LocalVerifiableCredentialStore({dbName});

await localVcStore.insert({credential, meta});

Contribute

See the contribute file!

PRs accepted.

If editing the Readme, please conform to the standard-readme specification.

Commercial Support

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

License

Bedrock Non-Commercial License v1.0 © Digital Bazaar