# Jinx compiles Nixpkgs to TypeScript for evaluation across the TypeScript ecosystem

DevFeed: [Jinx compiles Nixpkgs to TypeScript for evaluation across the TypeScript ecosystem](<https://devfeed.tech/articles/nixpkgs-for-the-frontend-impaired-85701.md>)

Original publisher: [Read original article](<https://fzakaria.com/2026/10/12/nixpkgs-for-the-frontend-impaired>)

Published: 2026-10-12T21:00:00Z

Content type: article

Language: en

Sources: [Farid Zakaria's Blog](<https://devfeed.tech/sources/farid-zakaria-s-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [frontend](<https://devfeed.tech/tags/frontend.md>), [nixpkgs](<https://devfeed.tech/tags/nixpkgs.md>), [reproducibility](<https://devfeed.tech/tags/reproducibility.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

Jinx compiles Nix expressions into TypeScript while preserving their evaluation behavior and derivation paths. The article reports that it compiled all 231,777 Nixpkgs attributes and found no differences in derivation paths across three tested platforms. This makes Nixpkgs accessible to TypeScript tools for editor completion, debugging, profiling, scripting, unit testing, and browser evaluation, though evaluation is slower than native Nix.

## Source excerpt

tl;dr jinx is a tool that compiles Nix to TypeScript. All of nixpkgs, each 231,777 attribute, produces the exact drvPath Nix does. Open the playground or evaluate hello in your browser tab with no Nix installed anywhere. 😈 Despite my admiration and joy for Nix, the language and tool, it is not what is magical. The store model is the great idea. Any similar tool built on the same model will have the same magical properties of reproducibility, and hermeticity.