1.6.3 • Published 12 months ago

@brighter/storage-adapter-local v1.6.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@brighter/storage-adapter-local

This is a local object storage adapter for the @brighter/storage library.

Quick Start

Installation, using npm:

npm i @brighter/storage-adapter-local

Usage:

import { Storage } from '@brighter/storage-adapter-local'

const storage = Storage({
  path: '/tmp/storage'
})

const main = async () => {
  await storage.write('msg', 'hi')
  const msg = await storage.read('msg')
  console.log(msg)
}

main().catch(console.error)

For more information:

1.5.5

12 months ago

1.6.3

12 months ago

1.6.2

12 months ago

1.6.1

12 months ago

1.6.0

12 months ago

1.5.9

12 months ago

1.5.8

12 months ago

1.5.7

12 months ago

1.5.6

12 months ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.2

3 years ago