@hyper63/adapter-memory

1.2.4 • Public • Published

hyper63 memory adapter

The memory adapter is an adapter for the CACHE port in the hyper63 gateway.

How to use

In your hyper63 project, install the adapter:

yarn add @hyper63/adapter-memory

In your hyper63.config.js file, import the module.

import { default as memory } from "@hyper63/adapter-memory";

In the adapters section, add the memory adapter as a plugin:

export default {
  ...
  adapters: {
    ...
    { port: 'cache', plugins: [memory()]}
  }
}

How to test

yarn test

More information

https://github.com/hyper63/hyper63

Readme

Keywords

none

Package Sidebar

Install

npm i @hyper63/adapter-memory

Weekly Downloads

0

Version

1.2.4

License

Apache-2.0

Unpacked Size

8.06 kB

Total Files

5

Last publish

Collaborators

  • hyper63