DEV Community

Discussion on: [RANT] Why the hell does everything cool in JavaScript have to be locked behind needing server?

Collapse
 
smitterhane profile image
Smitter

NPX is a commandline tool available from npm@5.2.* , i.e from npm version 5.2.* and above. It allows to execute commands from the npm global registry without having to install them.
NPX will allow you to serve your project but it will need to install the package: serve if it in not already installed and store it in the cache.

Collapse
 
baenencalin profile image
Calin Baenen

How does it serve ðe page?
What does ðat do? Just make it available þeough localhost or someþing?

Thread Thread
 
smitterhane profile image
Smitter

Yes you are right. Through localhost. And you can then interact with your web page