---
title: "Tushar Khatri (@tusharkhatri) | Hashnode"
description: "I write code... Read the latest articles by Tushar Khatri on Hashnode."
url: "https://hashnode.com/@tusharkhatri"
---

@tusharkhatri

# Tushar Khatri

@tusharkhatri · New Delhi, India · Joined October 2022

I write code...

[Website](https://tusharkhatri.in/)

### [How to Use Environment Files (.env) in Node.js | Tushar Khatri](https://blog.tusharkhatri.in/how-to-use-environment-variables-in-nodejs?utm_source=hashnode&utm_medium=feed)

Learn all about dotenv npm package and .gitignore file to keep our secrets safe in an express.js app.

3 min read · [blog.tusharkhatri.in](https://blog.tusharkhatri.in/how-to-use-environment-variables-in-nodejs?utm_source=hashnode&utm_medium=feed)

[Oct 28, 2022](https://hashnode.com/posts/how-to-use-environment-variables-in-nodejs/635bed19a7f775ca33ffdb87)

### [Send automated emails from your node.js app | Google OAuth2 and Nodemailer.](https://blog.tusharkhatri.in/send-automated-emails-nodejs-oauth2-nodemailer?utm_source=hashnode&utm_medium=feed)

The best way to send automated emails from your website.

4 min read · [blog.tusharkhatri.in](https://blog.tusharkhatri.in/send-automated-emails-nodejs-oauth2-nodemailer?utm_source=hashnode&utm_medium=feed)

[Oct 26, 2022](https://hashnode.com/posts/send-automated-emails-nodejs-oauth2-nodemailer/6359428bb2a82c73c90754ba)

### [Dart Programming Language: Why do I love it?](https://blog.tusharkhatri.in/why-do-i-love-dart-lang?utm_source=hashnode&utm_medium=feed)

Dart is a programming language designed for client development, such as for the web and mobile apps. It is developed by Google and can also be used to build

6 min read · [blog.tusharkhatri.in](https://blog.tusharkhatri.in/why-do-i-love-dart-lang?utm_source=hashnode&utm_medium=feed)

[Oct 22, 2022](https://hashnode.com/posts/why-do-i-love-dart-lang/63538f1475593ae7aa7fd0df)

### [px vs em vs rem vs %. Which one do I use while designing web pages?](https://blog.tusharkhatri.in/difference-between-px-em-rem?utm_source=hashnode&utm_medium=feed)

This article explains the difference between these font properties and how best to use them. Much has been debated about pixels vs em vs percent vs rem and

3 min read · [blog.tusharkhatri.in](https://blog.tusharkhatri.in/difference-between-px-em-rem?utm_source=hashnode&utm_medium=feed)

[May 24, 2022](https://hashnode.com/posts/difference-between-px-em-rem/6354d1f4db71c42f89e3880b)
