3 ms·
If you don't have npm installed, just stay as far as you can from this :D Seriously, JS static website generators are the worst... use something written in any
by brabel 4y ago
If you don't have npm installed, just stay as far as you can from this :D
Seriously, JS static website generators are the worst... use something written in any compiled language so you just download and run a single binary, no messing around with npm and millions of dependencies.
Take your pick here: https://jamstack.org/generators/ https://jamstack.org/generators/
- bdlowery 4y agoPHP is pretty great. No NPM needed
- progx 4y agoPECL? PEAR? Composer? ...
- ksbrooksjr 4y agoExactly. PHP (like every other modern programming language) has its own dependency management tools. Node is actually better than many in this respect because npm comes bundled with Node — it's not something you have to install separately. Ironically, Composer actually lists npm as one of its inspirations [1]. > "...Composer is strongly inspired by node's npm and ruby's bundler." [1] https://getcomposer.org/doc/00-intro.md https://getcomposer.org/doc/00-intro.md