DEV Community

Cover image for Request parser for Express routes.
Naren
Naren

Posted on

 

Request parser for Express routes.

Hello Everyone,

I always had a difficulty to handle both form data(for file uploads) and JSON within the express routes. So I decided to write a parser, Which will parse the file/JSON inputs from the user and pass it to the Express routes.

Here's the npm link for installation and repo

Feel free to try this parser. Any enhancement to this parser or changes to this code is highly appreciated.

Top comments (0)

This post blew up on DEV in 2020:

js visualized

🚀⚙️ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳

Happy coding!