New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pookie

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pookie

Tiny object database for use as application state. The query engine is a map/filter/reduce function that automatically re-runs on record change and add.

latest
Source
npmnpm
Version
1.47.0
Version published
Weekly downloads
7
40%
Maintainers
1
Weekly downloads
 
Created
Source

pookie

Tiny object database for use as application state. The query engine is a map/filter/reduce function that automatically re-runs on record change and add.

Terms

List - List of Objects Object - Object with uuid, version, kind, and other information

About

How do you keep track of views of data that depend on other views of data? How do you make it easy to understand, to visualize, strategize and manage?

Tree

The root of a tree can be viewed as a list of objects:

    [{}
     {}
     {}
     {}
     {}
     {}
     {}
     {}
     {}
     {}]

Todo List Example: At first consider only one layer of views:

    [{}  complete tasks     <-\
     {}  ^                     \
     {}  |                      }------ VIEWS OF DATA!
     {} /                      /
     {}/  incomplete tasks  <-/
     {}  ^
     {} /
     {}/
     {}
     {}
     {}] <-- tree root is a list of all tasks

Like with glasses, you will know when you need them

In the todo app example you will need them (nested views) when adding a PRIORITY VIEW

  [{}  complete tasks   
   {}  ^                  priority incomplete tasks
   {}  |                  ^
   {} /                  /    
   {}/  incomplete tasks/
   {}  ^
   {} /
   {}/
   {}
   {}
   {}] <-- tree root is a list of all tasks

Many, many, more.

Let us switch to a more comfortable tree format:

  • All Tasks
    • Completed Tasks
    • Incomplete Tasks
      • Priority Tasks

And extend out tree of views with more ideas:

  • All Tasks
    • Completed Tasks
      • Starred
      • Archived
      • Expired
    • Incomplete Tasks
      • Today's Tasks
        • High Priority
          • Starred
        • Low Priority
      • Recurring
      • Expired
      • Starred
    • Drafts
      • All
      • Recurring

As you can see, even a tiny program, can ballon out to a complex tree. Now consider multiple users, multiple administrators, and unforeseen features and the above tree can explode into dozens of views.

With pookie the state of your data is easy to see, predictable, and consistent. It is just a Node, with Nodes.

  • hurlyburly - Todo Application based on pookie object tree database.
  • cuddlemuffin - Lightweight and Elegant Multiuser and Multiprocess Safe Object Store with Conflict Tracking.

FAQs

Package last updated on 19 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts