Skip to main content


Just deployed a new version of Kitten.

It uses the latest version of JSDB (5.1.3) which fixes an issue where instances of `EventEmitter` subclasses persisted to the database were erroneously persisting their (by convention private) `_events` arrays containing `AsyncFunction` instances and thereby causing a crash on the database open attempt when the `AsyncFunction` class could not be found as it wasnā€™t provided to the `JSDB.open()` method.

https://codeberg.org/kitten/app

:kitten: šŸ’•

#Kitten #SmallWeb

in reply to Aral Balkan

ā€¦ JSDB, by the way, is short for JavaScript Database, which is, umm, a JavaScript database.

Itā€™s an in-process, in-memory database for Node.js for Small Web use that persists to an append-only JavaScript ā€“ not JSON, JavaScript ā€“ transaction log.

JSDBā€™s very easy to work with because you just use native JavaScript objects and they just automatically get persisted for you.

e.g., Hereā€™s a quick 6-line Kitten app that persists a counter:

https://codeberg.org/kitten/app#using-javascript-database-jsdb-a-not-so-scary-database

#JSDB #Kitten #SmallWeb #web #dev

ā‡§