ntree
A file system based "living tree" of functional data.
npm install ntree --save
?
It assembles a tree
of data from fragments recursed out of the config.mount
directory.
Each fragment is a node/javascript file with data per whatever it module.exports
.
TODO: It synchronizes changes: file system ---> tree
TODO: It synchronizes changes: file system <--- tree
TODO: It follows symlinks
TODO: It supports functions.
TODO: It emits change events.
eg.
var ntree = ; ntree ;
use the tree
// pending tree; tree;
important
This is not a database.
Reads from updated data fragment (.js) files are synchronous (per require('filename')
) and will therefore not scale beyond a moderate concurrency.