Create ssl / https server in nodejs

Sometimes there are needs to create https in your node application itself to create real life scenario or may be to test things like http/2 server push. Today I will show you how to create https server in node js, both with and without express. I will also talk about

Read More




Subscription confirmed

This is the start of our knowledge sharing relationship. All the updates you get from our newsletters are 100% handpicked. In case you use email clients like GMail, it may redirect our emails in promotion tab. In that case, just mark our email as important once.

Read More


Thank you!

Check your email for confirmation.   You’re almost done! We have sent you an email with the confirmation link. Head over to your Inbox and click on the link to confirm your subscription.

Read More


The last 7 days…

#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; } /* Add your own MailChimp form style overrides in your site stylesheet or in this style block. We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */ Email Address First Name Last Name

Read More


import vs require – ESM & commonJs module differences

ECMAScript Modules (ESM) are still in stage 3 (not finalized). require import Dynamic evaluation Static evaluation Throws error at runtime Throws error while parsing Non lexical Lexical As Node.js uses commonJS moduling, I will refer to the workflow of node to address the commonJS modules. And will refer the ECMAScript modules as ESM. Syntax difference CommonJS dep.js app.js ESM dep.js app.js Loading technique difference What Node.js does with

Read More