@webauthz/sdk-token-data-memory-js
v1.0.0
Published
In-memory storage for Webauthz Token
Downloads
3
Readme
sdk-token-data-memory-js
In-memory storage implementation for Webauthz Token.
Usage
const { WebauthzTokenMemoryDatabase } = require('@webauthz/sdk-token-data-memory-js');
const { WebauthzToken } = require('@webauthz/sdk-token-core-node-js');
const database = new WebauthzTokenMemoryDatabase();
const webauthzToken = new WebauthzToken({ database, ...otherSettings });
API
This library implements the storage interface defined by sdk-token-core-node-js.
Build
npm run lint
npm run build