Knot.js — Dependencies without node_modules

Knot is an experimental content-addressed execution framework for JavaScript and TypeScript. Declare what a program may use. Knot resolves, verifies, caches, and runs it.

git clone <project>
cd project
knot run

Traditional

project
└── node_modules
    ├── dependency
    ├── dependency
    ├── dependency
    └── thousands more files

Knot

project
│
└──────────────┐
               ↓
         Content Graph
               ↓
          ~/.knot/store
          ↙     ↓     ↘
      Project Project Project

What Knot actually does