Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

@arcblock/swap-storage-memory

1.0.13 • Public • Published

@arcblock/swap-storage-memory

styled with prettier

Storage engine that uses memory to store data, implements interfaces defined in @arcblock/swap-storage.

Table of Contents

Install

npm install @arcblock/swap-storage-memory
// or
yarn add @arcblock/swap-storage-memory

Usage

const MemoryStorage = require('@arcblock/swap-storage-memory');
 
const storage = new MemoryStorage();
 
(async () => {
  const item = await storage.create({});
})();

Contributors

Name Website
wangshijun https://ocap.arcblock.io

Install

npm i @arcblock/swap-storage-memory

DownloadsWeekly Downloads

75

Version

1.0.13

License

Apache-2.0

Unpacked Size

9.08 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar