npm.io
4.1.24 • Published 6 years ago

clay-driver-memory

Licence
Apache-2.0
Version
4.1.24
Deps
11
Size
82 kB
Vulns
0
Weekly
0
Stars
1

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.

Keywords