Skip to content

realglobe-Inc/clay-driver-memory

Repository files navigation

clay-driver-memory

Build Status npm Version JS Standard

Clay driver to store data on memory.

Installation

$ npm install clay-driver-memory --save

Usage

'use strict'

const { MemoryDriver } = require('clay-driver-memory')

{
  const clayLump = require('clay-lump')
  let lump01 = clayLump({
    driver: new MemoryDriver({})
  })
  /* ... */
}

API

clay-driver-memory@4.1.23

Clay driver to store data on memory.

Functions

create(args) -> MemoryDriver

Create driver instance

Param Type Description
args *

MemoryDriver Class

Driver to store data on memory

Extends:

  • Driver

new MemoryDriver()

Constructor of MemoryDriver class

License

This software is released under the Apache-2.0 License.

Links