Live data from Hacker News

Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

github.com

1–10 of 71 posts

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#3
post #2

I use nvm currently. Can I ask how this compares to nvm, perhaps issues with nvm that it tackles? Is it performance? :o

I second this question. I'm using nvm almost everywhere and have never had issues, nor did I ever experience it as slow.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#4
post #2

I use nvm currently. Can I ask how this compares to nvm, perhaps issues with nvm that it tackles? Is it performance? :o

Hey! fnm is a very simple and (very) fast node version manager. On my machine, `nvm init`/`nvm use` takes around 600ms - this means each time you spawn a new shell you have a ~600ms penalty.

The gif on the README is real time (it's a screen recording) - so installations are fast, and every command that works locally is extremely fast.

So, tl;dr, fnm is built with performance in mind

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#5
post #3
post #2

I use nvm currently. Can I ask how this compares to nvm, perhaps issues with nvm that it tackles? Is it performance? :o

I second this question. I'm using nvm almost everywhere and have never had issues, nor did I ever experience it as slow.

I'm pretty sure `nvm` supports more use cases than fnm right now, as it is a much more mature project. However, it is slower in orders of magnitude.

It does support `.nvmrc` files so my use cases have been fulfilled with fnm - but if yours wasn't implemented yet - you are more than welcome to open an issue and we'll try to tackle it.

Also, fnm is a single executable, therefore it is very easy to install and works across all shells (no need for wrappers in `fish` shells, for instance). Just put it in your path and you're good to go!

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#7
post #2

I use nvm currently. Can I ask how this compares to nvm, perhaps issues with nvm that it tackles? Is it performance? :o

The problem I have with nvm is speed (running it at shell startup introduces a very noticeable delay), and integration with other shells - it's always been a pain to get it running with fish.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#9
Wait, I assumed this will be a js-app, but it actually is a executable binary?

Is that the courtesy of https://github.com/jordwalke/pesy ?

For some time I wanted to try ReasonML for server-side development, but for some reason I assumed, that most of the ecosystem would be node.js based.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#10
post #2

I use nvm currently. Can I ask how this compares to nvm, perhaps issues with nvm that it tackles? Is it performance? :o

this really does need a pitch comparison vs nvm. when I first saw yarn I switched almost instantly from npm because the pitch and improvement were clear
Post reply on HN