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
Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
21–30 of 71 posts
Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#22Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf
Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#23I 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
#24Wait, 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.
pesy is just a utility I made to help people create new native Reason projects (like fnm) quickly and easily. It's fun.
fnm is a native Reason app. We haven't advertised much of Reason's (OCaml's) native capabilities because we wanted to make sure we've built out a lot of the tooling that makes native development easy - for example https://esy.sh. Now that a lot of this native tooling is becoming polished, I hope you'll probably start seeing more projects like fnm.
Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#25Earlier quoted context omitted.
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.
I currently have this problem on my zsh setup - is there any easy fix for it?
Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#26Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf
I have to read the README twice to see what is it about. What is extensible version manager? Managing what exactly. So I guess it's the reason asdf is not popular
Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#27Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#28Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf
Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML
#29Wait, 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.
Hi I'm Jordan and I work on Reason. pesy is just a utility I made to help people create new native Reason projects (like fnm) quickly and easily. It's fun. fnm is a native Reason app. We haven't advertised much of Reason's (OCaml's) native capabilities because we wanted to make sure we've built out a lot of the tooling that makes native development easy - for example https://esy.sh . Now that a lot of this native too…
I looked at Reason several months ago and my impression was, that if you want to do frontend stuff with bucklescript, you are one git-pull and npm install from a working scaffold, but if you want Reason with ocaml for native stuff, you would mostly be scaffolding yourself.
I am really glad I was mistaken :)