Package Exports
- @did-connect/storage-memory
- @did-connect/storage-memory/lib/index.js
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 (@did-connect/storage-memory) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@did-connect/storage-memory
Storage engine that uses mongo to store data, implements interfaces defined in
@did-connect/storage
.
Table of Contents
Install
npm install @did-connect/storage-memory
// or
yarn add @did-connect/storage-memory
Usage
const MemoryStorage = require('@did-connect/storage-memory');
const storage = new MemoryStorage();
(async () => {
const token = '123456';
const item = await storage.create(token);
})();
Contributors
Name | Website |
---|---|
wangshijun | https://ocap.arcblock.io |