4 ms·
Why hasn’t anyone built a clone of npm/npx UX that uses Nix under the hood? I hear so much about how ideal the Nix model is, and how bad NPM is. It seems like t
by jitl 4y ago
Why hasn’t anyone built a clone of npm/npx UX that uses Nix under the hood? I hear so much about how ideal the Nix model is, and how bad NPM is. It seems like this should be “easy”. What gives?
- jbboehr 4y agoHave you seen pnpm[0]? Has some similarities. > Files inside node_modules are cloned or hard linked from a single content-addressable storage Also (IIRC, it's been a long while) it's lockfile contains enough information to translate it directly to a Nix derivation[1]. [0]: https://pnpm.io/ https://pnpm.io/ [1]: https://github.com/nix-community/pnpm2nix https://github.com/nix-community/pnpm2nix
- pxc 4y agoThey're talking about a frontend for Nix that uses a simple subcommand interface with a UX focus, but which is about Nix, not seeking a Nix-like backend for NPM. (I misread their comment the same way as you did the first time :)