Spaghetti

Spaghetti


Providing type-safe communication between JavaScript modules.

Why Spaghetti?

Because of the untyped nature of JavaScript, modularizing large, evolving JavaScript applications is difficult. To help keep track of changing APIs, Spaghetti uses compilers to check communication between modules, transforming run-time API compatibility problems into more manageable compile errors.

Who uses Spaghetti?

Prezi engineers saw a need for type-checking between their JavaScript modules, and so Spaghetti was internally developed as an open-source project.

Demo