<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abhishek Bharti</title>
    <description>The latest articles on DEV Community by Abhishek Bharti (@abhishekbharti).</description>
    <link>https://dev.to/abhishekbharti</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F307550%2Fabaf5630-3d1f-4f86-a909-d84ba870691e.png</url>
      <title>DEV Community: Abhishek Bharti</title>
      <link>https://dev.to/abhishekbharti</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhishekbharti"/>
    <language>en</language>
    <item>
      <title>Highly Useful ✨ Express Frameworks 👌👌</title>
      <dc:creator>Abhishek Bharti</dc:creator>
      <pubDate>Tue, 26 Jan 2021 15:02:32 +0000</pubDate>
      <link>https://dev.to/abhishekbharti/highly-useful-express-frameworks-2ol2</link>
      <guid>https://dev.to/abhishekbharti/highly-useful-express-frameworks-2ol2</guid>
      <description>&lt;p&gt;&lt;strong&gt;POST IS IN PROGRESS....&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Joi &lt;code&gt;Validation Framework&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;The most powerful schema description language and data validator for JavaScript.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://joi.dev/"&gt;Official Joi Website&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. dotenv &lt;code&gt;Manage Environment Variables&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/dotenv"&gt;Explore dotenv&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. bcrypt &lt;code&gt;Encryption Framework&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;It is always good practice to hash the passwords before storing it to database. bcrypt make it very easy to hash the password with random salt.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/bcrypt"&gt;Explore bcrypt&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. winston &lt;code&gt;Logger&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each instance of a winston logger can have multiple transports configured at different levels. For example, one may want error logs to be stored in a persistent remote location (like a database), but all logs output to the console or a local file.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/winston"&gt;Explore Winston&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. morgan &lt;code&gt;HTTP request logger&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;HTTP request logger middleware for node.js&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/morgan"&gt;Explore Morgan&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. debug &lt;code&gt;Another library for debugging'&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/debug"&gt;Explore debug&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. i18n &lt;code&gt;Localisation&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Lightweight simple translation module with dynamic JSON storage. Supports plain vanilla Node.js apps and should work with any framework (like Express, restify and probably more) that exposes an app.use() method passing in res and req objects.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/i18n"&gt;Explore i18n&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  8. express-async-errors &lt;code&gt;Removes need to add try/catch&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Expressjs handles error on try/catch basis, which is very helpful, but doesn't take care of asynchronous errors (errors in callbacks). This middleware handles those with usage of domains.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/express-async-error"&gt;Explore express-async-errors&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  9. nodemon &lt;code&gt;Good for node.js development - auto-start server&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/nodemon"&gt;Explore nodemon&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  10. Cors &lt;code&gt;For adding CORS headers&lt;/code&gt;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/cors"&gt;Explore cors&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
