Skip to content

gilleswittenberg/treey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treey

Event sourced, database agnostic tree data structure

  • Browser (IndexedDB)
  • Node.js (memory)

API

  • init: async () : Promise<Optional>
  • read: async (id: Id) : Promise<Optional>
  • createAndAdd: async (data: Data, parentId: Id) : Promise<Optional>
  • update: async (id: Id, data: Data) : Promise<Optional>
  • remove: async (id: Id, parentId: Id, index: Index) : Promise<Optional>
  • move: async (id: Id, oldParentId: Id, oldIndex: Index, parentId: Id, index: Index) : Promise<Optional>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published