w3
@akennedy and I were digging through angularjs, a new client mv* framework from google. When we evaluate new tech, it is nice to go through the examples, but we really need to quickly see how these frameworks will do at solving our needs. Our applications use a lot of autocompletes, dynamic selects and a lot of ajax. So we need to create small little spikes to test these concerns.
NodeJs is great for quickly building small web servers or we could fire up apache or nginx. But this does take time and most of the time we just open a file in the browser.
Today, I created a simple static web server called w3. The big win is that if you have nodejs and npm install w3 -g
Now you have a little web server you can bring up and down in any folder.
Its easy! Just go to a folder create index.html anything else and then run w3 in the folder and you are serving files.
I hope you find this utility as valuable as we do!