Skip to content

AceyJS/acey-node-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Storage for NodeJS apps with Acey

Asynchronous, unencrypted, persistent, key-value storage system for nodeJS. (conceived for acey)

Installation

yarn add acey-node-store

Quickstart

import { config } from 'acey'
import LocalStorage from 'acey-node-store'

const initAcey = async () => {
  /* 
    parameter: `dbFolderPath` (string)
    The path to the folder where your JSON DB files will be saved.
  */
  const localStorageEngine = new LocalStorage('./db')
  config.setStoreEngine(localStorageEngine)
  await config.done()
}

About

Asynchronous, unencrypted, persistent, key-value storage system for nodeJS. (conceived for acey)

Resources

Stars

Watchers

Forks

Packages

No packages published