DEV Community

Stuart Haas
Stuart Haas

Posted on

Path aliases with Vanilla Node JS

I've been working on a side-project that is more or less an experimental attempt to make a Laravel-like clone with the ExpressJS framework. Along the way, I thought to myself, "Is it possible to use path aliases with out Typescript?". I did some researching and founds lot of answers but no real, tangible solutions. I came up with something on my own. Although it's not terribly pretty or clever, it does what I want it to.

Take a look and let me know what you think.

Thanks for reading!

Top comments (0)