README
Easy key-value storage.
Usage
Create your database at key-value.vercel.app.
Install kv
npm install @wardmaes/kv
# or
yarn add @wardmaes/kv
Create a new database connection
import kv from '@wardmaes/kv'
const db = new kv('db-name', 'db-secret')
Set a value
await db.set('city', 'Chicago')
Get a value
const value = await db.get('city') // Chicago