@loop-engine/adapter-memory
v0.1.5
Published
In-memory LoopStorageAdapter for local development and tests
Downloads
607
Maintainers
Readme
@loop-engine/adapter-memory
In-memory storage adapter for Loop Engine - zero configuration for development and tests.
Install
npm install @loop-engine/adapter-memory @loop-engine/sdkQuick Start
import { createLoopSystem, GuardRegistry } from "@loop-engine/sdk";
import { MemoryLoopStorageAdapter } from "@loop-engine/adapter-memory";
const guards = new GuardRegistry();
guards.registerBuiltIns();
const { engine } = await createLoopSystem({
loops: [loopDefinition],
storage: new MemoryLoopStorageAdapter(),
guards
});Documentation link
https://loopengine.io/docs/packages/adapter-memory
License
Apache-2.0 © Better Data, Inc.
