denyncrawford / dndb

A Deno 🦕 persistent, embeddable and optimized NoSQL database for JS & TS

Home Page:https://dndb.crawford.ml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thoughts on typed data?

bbarr opened this issue · comments

I love the memory-efficient reads/writes of dndb but also love the "typescript by default" nature of Deno. Would you be interested in some help implementing something that looks like:

const db = new Datastore<{ name: string, age: number }>({ filename:"./database.db", autoload: true })

I'm definitely interested, I'm in my way to understand Typescript enough to stop putting anys everywhere haha. I am currently working with a friend on improving storage performance and maybe I've been letting this things out the table, but a help never hurts, thanks dude! Excuse my english by the way!

Ok! I have a fork and will start poking around at it this week. Closing this for now.