Follow

Just released version 1.0 of JavaScript Database (JSDB).

github.com/small-tech/jsdb

Install:

npm i @small-tech/jsdb

Use:

const JSDB = require('@small-tech/jsdb')

const db = JSDB.open('db')

db.people = [ {name: 'Laura', age: 33}, {name: 'Aral', age: 43} ]

db.people.push({name: 'Osky', age: 8})

const youngest = db.people.where('age').isLessThan(10).getFirst().name

console.log(youngest) // Osky

Enjoy and please don’t use it to farm people for data.

· · Web · 2 · 8 · 11

It took a little over a month to create JSDB but it was a worthwhile tangent. I am now working on integrating it into Site.js (sitejs.org).

For one thing, it feels good to know that I will never have to struggle with overkill databases created for Big Tech people farming while making simple Small Web sites/apps :)

:awesome: 👍

Show thread

@aral Hey, Congrats on a 1.0 release! I wish i was doing more JS related work so i could use this!!

@jos Thanks :) Well, it’ll be there should you need it in the future :)

Sign in to participate in the conversation
Aral’s Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!