The quick version is: have you ever thought about using node.js to make any folder as a web-server and in a PHPish way where .njs files are required and executed runtime as node modules ?
Oh well, I did, and this is the result in Github: polpetta ... enjoy!
My JavaScript book is out!
Don't miss the opportunity to upgrade your beginner or average dev skills.