🗂️ DirectDB
Turn a folder into a database. Store data in human-readable files like Markdown, JSON, and YAML.
Still in development. Expect breaking changes.
Packages
-
The main package. Start here!
-
Core of the database. Out of the box, it handles all files as plain text. Use this if you want to make your own variant of DirectDB.
-
Uses AJV custom keywords to define an ORM, using JSON Schemas as Model definitions. Make "dumb" JSON objects smart, with foreign key relationships, getters, methods, and more.
-
Unopinionated tool for creating custom front matter handlers. Created because other front matter tools baked in YAML or Markdown handlers we do not want.
File Handlers
Docs
About
Created by pskfyi for personal projects and rapid prototyping. ISC licensed.
Thanks to lowdb for much inspiration and for showing how to unit test file system operations.
Information about design philosophy and technologies used can be found in the docs.