<?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: Amlan</title>
    <description>The latest articles on DEV Community by Amlan (@amlan).</description>
    <link>https://dev.to/amlan</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%2F676075%2F3edec947-938e-4583-a726-d4c66865129c.png</url>
      <title>DEV Community: Amlan</title>
      <link>https://dev.to/amlan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amlan"/>
    <language>en</language>
    <item>
      <title>Basic NPM Packages  for Javascript Developers</title>
      <dc:creator>Amlan</dc:creator>
      <pubDate>Thu, 09 Dec 2021 20:14:09 +0000</pubDate>
      <link>https://dev.to/amlan/basic-npm-packages-for-javascript-developers-5akg</link>
      <guid>https://dev.to/amlan/basic-npm-packages-for-javascript-developers-5akg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Dotenv:&lt;/strong&gt; .env is  zero dependency module that loads enviorment variables from a .env file into process.env .&lt;/p&gt;

&lt;p&gt;ex-  const key = process.env.secretkey&lt;br&gt;
this secretkey is declared in our .env file and that file will not be public.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bcrypt:&lt;/strong&gt; Bcrypt is a library that help you easily hash password and compare them in node.js&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Funkajst20122a3qqh8hu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Funkajst20122a3qqh8hu.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UUID:&lt;/strong&gt; UUID is a unique random number ids values generator . It generate string random values.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgjo4shmx6v6whz7bfhe4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgjo4shmx6v6whz7bfhe4.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Axios&lt;/strong&gt; Axios is a popular promise based HTTP client for the browser and node.js .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpbr2s6fg31g4n2c2fmcm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpbr2s6fg31g4n2c2fmcm.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Socket.io :&lt;/strong&gt; Socket.io enables real time bi-directional communication between web clients and servers. &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>node</category>
      <category>webdev</category>
      <category>npm</category>
    </item>
    <item>
      <title>Passing Array elements through Props in React</title>
      <dc:creator>Amlan</dc:creator>
      <pubDate>Thu, 09 Dec 2021 19:43:14 +0000</pubDate>
      <link>https://dev.to/amlan/passing-array-elements-through-props-in-react-5259</link>
      <guid>https://dev.to/amlan/passing-array-elements-through-props-in-react-5259</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z1mvyhGE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urkklbtxm4z4ufgplbvp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z1mvyhGE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urkklbtxm4z4ufgplbvp.png" alt="Image description" width="880" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I want to pass elements of arrayList to the &lt;strong&gt;User&lt;/strong&gt; Component, through Props, and render them in a list.&lt;/p&gt;

&lt;p&gt;The array must preset in the parent Component (let say app.js)&lt;/p&gt;

&lt;p&gt;In App.js →&lt;br&gt;
&lt;code&gt;&amp;lt;User userList={arrayList}/&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now We need to pass the Props through the User functional Component.&lt;/p&gt;

&lt;p&gt;If you console.log(props) in the User.js You can see all elements of App.js And We want only arrayList of App.js,We declared the arrayList as UserList var . So If I console.log the Props.userList.I can see the arrayList elements.&lt;/p&gt;

&lt;p&gt;Now time to render the arrayList. For this we will use Map function(know more about Map function in javascript)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LBHCi0YK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pr1ai9c6w0gzvm0dqo9i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LBHCi0YK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pr1ai9c6w0gzvm0dqo9i.png" alt="Image description" width="880" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
