Live data from Hacker News

Show HN: Zap – another JavaScript package manager

github.com

1–5 of 5 posts

Show HN: Zap – another JavaScript package manager

#1
Hey!

Zap is another package manager for the JavasScript ecosystem, written in Crystal and I have been working on this side project of mine for a year or so on-and-off.

It aims to be fast but also:

- flexible: configurable and supports advanced features like multiple install strategies, overrides, package extensions, workspaces, private registries…

- reliable: multiple anti-corruption checks, store is flocked and supports multiple processes reading/writing to it…

- dev friendly: tries to be sensible about the ouput and still display all the info needed

There is still much work to do (cough windows support) but I a quite happy with the current state so far.

Unfortunately I will start a new job tomorrow hence I will not have the same amount of time to dedicate to Zap anymore, so I am posting the link here just in case someone is interested in trying it out :).

Show HN: Zap – another JavaScript package manager
github.com

Re: Show HN: Zap – another JavaScript package manager

#3

I was a bit shocked when I saw it written in Crystal, cool! Will it treat node_modules the same way pnpm does? Update, just read about zap --isolated which I assume acts the same way as pnpm to reduce the node_modules size

Hey!

Yes with the —isolated flag it will mimic the pnpm way of installing node modules.

But more generally node modules are hardlinked on windows / linux and reflinked on macos anyway, so disk space should be preserved no matter the install strategy.