DEV Community

Cover image for me.explain(What)
Sui Gn
Sui Gn

Posted on

me.explain(What)

Reading a value tells you what is there. me.explain(path) lets you explore how it is defined.

me.order.subtotal(100);
me.order.tax(16);
me.order["="]("total", "subtotal + tax");
me.explain("order.total");
Enter fullscreen mode Exit fullscreen mode

Here, order.total is derived from subtotal + tax. Its explanation describes that relationship and the paths it depends on.

The same idea can power a terminal command or a GUI Inspector: select a node, ask for its explanation, and explore the structure behind it.
path _identifies what you want to understand. _explain makes its derivation inspectable.

GitHub logo neurons-me / .me

Here we're codependently creating .me while it concurrently creates us.

.me

Own your knowledge.




.me as a coordinate
0dec8214…a292d7
keccak-256

Hello, I am .me

  <p dir="auto">
    </p>
Enter fullscreen mode Exit fullscreen mode
A Cryptographic Identity
  <div class="markdown-heading" dir="auto">
Enter fullscreen mode Exit fullscreen mode

⌬ Docs

β†’ Watch the hash: neurons-me.github.io/.me



Getting Started

Install .me. Open your terminal and run:

git clone https://github.com/neurons-me/.me.git
cd .me
Enter fullscreen mode Exit fullscreen mode
Choose

πŸ”· Typescript

cd Typescript
npm install
npm run build
Enter fullscreen mode Exit fullscreen mode

πŸ¦€ Rust β€” crates.io Β· docs.rs
🐍 Python β€” Not Available Yet.

Demos

node tests/Demos/Robots_Contexts.ts
Enter fullscreen mode Exit fullscreen mode

∴ πŸ™οΈ β—‰ πŸ“‘ ⌬ Smart City β€” A city reacting as one connected graph.

node tests/Demos/Smart_City.ts
Enter fullscreen mode Exit fullscreen mode
node tests/Demos/Social_Graph.ts
Enter fullscreen mode Exit fullscreen mode

πŸͺ ⇄ πŸ“¦ ⇄ πŸ“ˆ CoffeeShops β€” Inventory and operations as a graph.

node tests/Demos/ShopsExample.ts
Enter fullscreen mode Exit fullscreen mode

πŸ’³ ⇄ πŸ‘₯ ⌬ βš–οΈ ∴ Splitting your Bill β€” Shared expenses with automatic settlement.

node tests/Demos/WalletSplit.ts
Enter fullscreen mode Exit fullscreen mode

Top comments (0)