

{"id":100563,"date":"2021-10-01T09:00:12","date_gmt":"2021-10-01T03:30:12","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=100563"},"modified":"2021-10-01T10:44:18","modified_gmt":"2021-10-01T05:14:18","slug":"installing-npm-node-package-manager","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/","title":{"rendered":"Installing npm &#8211; Node Package Manager"},"content":{"rendered":"<p>In this blog you will get to know what is npm and the steps for installing npm? Why should we use it? How can we use it? What are its advantages? How to install it? So go ahead and read this amazing article.<\/p>\n<p>You will find all the <a href=\"https:\/\/www.npmjs.com\/\">packages of npm to download<\/a> here.<\/p>\n<h3>Facts about NPM:<\/h3>\n<p>It is open source. Some top npm packages are express, react, async.<\/p>\n<h3>What is NPM?<\/h3>\n<p>Npm stands for node package manager. It is the most popular and widely used package manager for node.js. It helps us to install all the different kinds of modules available for node.js. Npm is like a playstore for node.js whenever we require any package in our project we download it from npm.<\/p>\n<p>Npm is also used to publish your packages i.e., if you developed any package then you can publish it using npm so that others can download your package and use it.<\/p>\n<p>In a nutshell, npm is a package manager for node.js which helps us to install any available packages into our project. It is a centralized repository for all available packages.<\/p>\n<h3>How to Install npm?<\/h3>\n<p>We don&#8217;t have to explicitly install it. It will automatically get installed when we install node.js. So if you don&#8217;t know how to install node.js check out our previous tutorial.<\/p>\n<h3>What is the need of npm?<\/h3>\n<p>Normally whenever we are developing some projects what happens is that we don&#8217;t want to do everything from scratch we mostly want to focus on our business logic. So in order to reduce the burden of developing and testing we use npm packages.<\/p>\n<h3>Advantages:<\/h3>\n<ul>\n<li>It is a huge repository. It has almost everything which we will require to make a project.<\/li>\n<li>Manges global as well as local project tools.<\/li>\n<li>It helps to easily switch versions of our tool.<\/li>\n<li>It provides package-lock.json and package.json which tells about our project dependencies in detail.<\/li>\n<\/ul>\n<h3>Check npm version:<\/h3>\n<p>To know which npm version you are using type \u201cnpm -v\u201d<\/p>\n<h3>Update npm version<\/h3>\n<p>To update the npm version run the below command<\/p>\n<p><strong>Syntax<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm npm@latest -g\r\n<\/pre>\n<h3>Initializing project with npm (Creating a node project):<\/h3>\n<p>1. To initialize your project, open a terminal in your project directory and type npm init.<\/p>\n<p>2. You can keep everything to default or answer the questions asked.<\/p>\n<p>3. To initialize without answering the question you can use npm init &#8211;yes<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100868\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize.png\" alt=\"node npm initialize\" width=\"1366\" height=\"726\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize-768x408.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize-720x383.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize-520x276.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-initialize-320x170.png 320w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>4. You will see a package.json file has been generated.<\/p>\n<h3>What is Package in node.js?<\/h3>\n<p>It contains the files needed in the module.<\/p>\n<h3>Installing packages or modules in npm:<\/h3>\n<p>To install a package, open a terminal in the project directory and type npm install &lt;package name&gt;.<br \/>\nExample:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install express\r\n<\/pre>\n<p>Let&#8217;s say we have to install the chalk package, then we have to write npm install chalk.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100869\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install.png\" alt=\"nodejs npm install\" width=\"1366\" height=\"726\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install-768x408.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install-720x383.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install-520x276.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-npm-install-320x170.png 320w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<ul>\n<li>A package-lock.json file will automatically be created once you run the npm install command.<\/li>\n<li>A node_modules folder will also be created automatically.<\/li>\n<li>All the source code of the installed packages will be put in the node_modules folder.<\/li>\n<\/ul>\n<h3>Using npm package;<\/h3>\n<p>To use the installed modules, you have to include the module in your file using the require function:<br \/>\nEg:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">let chalk=require(\u2018chalk\u2019)\r\n<\/pre>\n<p>Now you can use all the functions available in the chalk module.<\/p>\n<h4>Installing globally vs Installing locally:<\/h4>\n<p>Default mode of installing packages is locally. Packages installed locally are only available for that project only, whereas we can use packages installed globally in any of the projects in that device.<\/p>\n<h4>Installing globally:<\/h4>\n<p>In the earlier command for installing, the package will be available locally. In order to install globally, you have to write<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install &lt;package name&gt; -g\r\n<\/pre>\n<h4>Updating npm packages:<\/h4>\n<p>For local package update :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm update\r\n<\/pre>\n<p>For global package update :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm update-g\r\n<\/pre>\n<h4>Uninstalling Packages in npm:<\/h4>\n<p><strong>Syntax<\/strong><br \/>\nUse below command to uninstall a package<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm uninstall &lt;package name&gt;\r\n<\/pre>\n<p>Example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm uninstall express\r\n<\/pre>\n<h4>Searching a module in npm:<\/h4>\n<p>Use below command to uninstall a package<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm search &lt;package_name&gt;\r\n<\/pre>\n<h4>Install as dev dependency;<\/h4>\n<p>To install as a dev dependency you have to append &#8211;save after the install command.<\/p>\n<p>Eg:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install cat --save-dev\r\n<\/pre>\n<h4>Installing a particular version:<\/h4>\n<p>To install a particular version of a package, use the below command<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install &lt;package&gt;@&lt;version&gt;\r\n<\/pre>\n<h4>Installing the latest version:<\/h4>\n<p>To install the latest version of a package, use the below command<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install &lt;package&gt; *\r\n<\/pre>\n<h3>Using Package.json file in Nodejs<\/h3>\n<p>This file contains the information of our project like project name, author name, version of the installed packages, dependencies and dev dependencies.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100870\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json.png\" alt=\"node-package.json\" width=\"1366\" height=\"726\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json-768x408.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json-720x383.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json-520x276.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package.json-320x170.png 320w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<h4>Attributes of package.json:<\/h4>\n<ul>\n<li>Name-Indicates package name<\/li>\n<li>Version- indicates version of package<\/li>\n<li>Description- about the package.<\/li>\n<li>Author-package author<\/li>\n<li>Main-entry point for the package<\/li>\n<li>Keywords<\/li>\n<li>Dependencies<\/li>\n<li>contributors<\/li>\n<\/ul>\n<h3>Dependencies vs DevDependencies in Nodejs<\/h3>\n<h4>Dependencies in Nodejs:<\/h4>\n<p>It gives information regarding the packages used in the project. All the packages listed in the dependencies property are necessary to run the application. Whenever we install a package its name and version will automatically be available in the dependency list.<\/p>\n<h4>Dev Dependency in Nodejs:<\/h4>\n<p>It is the same as dependencies list but the major difference is that we will require the packages listed under the devdependency only during the development of our application.<\/p>\n<p>We don\u2019t require these dependencies when our application is deployed or under a production environment.<\/p>\n<h3>Package-lock.json file:<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100871\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json.png\" alt=\"node-package-lock.json\" width=\"1366\" height=\"726\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json-768x408.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json-720x383.png 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json-520x276.png 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/node-package-lock.json-320x170.png 320w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>Unlike the package.json, this file contains details of the packages in depth. It contains the exact version of every package that is installed.<\/p>\n<h3>Controlling where package gets installed:<\/h3>\n<p>Whenever we install a package using the npm install command it gets saved automatically in the package.json file. But if we want to install a package as a devDependency then we can use the below command.<\/p>\n<p><strong>Syntax<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install &lt;package_name&gt; -save-dev\r\n<\/pre>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install chalk -save-dev\r\n<\/pre>\n<h3>Npm ci:<\/h3>\n<p>Npm ci is for downloading the exact version of all the packages for the project. It is helpful to make sure all the teammates in a project are working with the same version.<\/p>\n<h3>Npm scripts:<\/h3>\n<p>The package.json file contains a script property which we use to run command line tools that are installed in the project. For example, in a react project using the command \u201cnpm start\u201d starts the development server.<\/p>\n<h3>Npm audit:<\/h3>\n<p>Some of the Npm packages are malicious so in order to identify them<br \/>\nNpm audit command is used. In order to fix the vulnerabilities, npm audit fix command is run.<\/p>\n<h3>Npm publish:<\/h3>\n<p>If you want your modules to be available in https:\/\/www.npmjs.com\/ than you can publish them using the \u201cnpm publish\u201d command. Once it is published anybody will be able to install it using the \u201cnpm install &lt;your package name&gt;\u201d command.<\/p>\n<h3>Conclusion:<\/h3>\n<p>In this article we have gone through a detailed overview of npm and its popular commands, we hope you were able to learn.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog you will get to know what is npm and the steps for installing npm? Why should we use it? How can we use it? What are its advantages? How to install&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":100867,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25259],"tags":[25261,25263,25262,25260],"class_list":["post-100563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-node-js-tutorials","tag-installing-npm","tag-node-package-manager","tag-nodejs-package-manager","tag-npm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing npm - Node Package Manager - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn what is Node package manager (npm), its need, advantages and installing npm. Learn about Dependencies vs DevDependencies in Nodejs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing npm - Node Package Manager - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn what is Node package manager (npm), its need, advantages and installing npm. Learn about Dependencies vs DevDependencies in Nodejs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-01T03:30:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-01T05:14:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/nodejs-npm.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing npm - Node Package Manager - DataFlair","description":"Learn what is Node package manager (npm), its need, advantages and installing npm. Learn about Dependencies vs DevDependencies in Nodejs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/","og_locale":"en_US","og_type":"article","og_title":"Installing npm - Node Package Manager - DataFlair","og_description":"Learn what is Node package manager (npm), its need, advantages and installing npm. Learn about Dependencies vs DevDependencies in Nodejs.","og_url":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-10-01T03:30:12+00:00","article_modified_time":"2021-10-01T05:14:18+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/nodejs-npm.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Installing npm &#8211; Node Package Manager","datePublished":"2021-10-01T03:30:12+00:00","dateModified":"2021-10-01T05:14:18+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/"},"wordCount":1096,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/nodejs-npm.jpg","keywords":["installing npm","node package manager","nodejs package manager","npm"],"articleSection":["Node Js Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/","url":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/","name":"Installing npm - Node Package Manager - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/nodejs-npm.jpg","datePublished":"2021-10-01T03:30:12+00:00","dateModified":"2021-10-01T05:14:18+00:00","description":"Learn what is Node package manager (npm), its need, advantages and installing npm. Learn about Dependencies vs DevDependencies in Nodejs.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/nodejs-npm.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/09\/nodejs-npm.jpg","width":1200,"height":628,"caption":"installing npm"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/installing-npm-node-package-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Node Js Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/node-js-tutorials\/"},{"@type":"ListItem","position":3,"name":"Installing npm &#8211; Node Package Manager"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=100563"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100563\/revisions"}],"predecessor-version":[{"id":102123,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100563\/revisions\/102123"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/100867"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=100563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=100563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=100563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}