{"id":38,"date":"2019-03-28T17:47:52","date_gmt":"2019-03-28T17:47:52","guid":{"rendered":"https:\/\/www.kindsonthegenius.com\/nodejs\/?p=38"},"modified":"2020-08-06T09:55:55","modified_gmt":"2020-08-06T09:55:55","slug":"04-node-js-repl-console","status":"publish","type":"post","link":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/","title":{"rendered":"Node.js &#8211; REPL Console"},"content":{"rendered":"<p>We would learn about the REPL Console in this lesson. REPL means Read Eval Print Loop. Sometimes it is called Node.js terminal. It is a command shell (prompt) where you can enter commands. This is similar to working with Shell in Linux.But in Node.js, it&#8217;s quite easy to follow.<\/p>\n<p><a href=\"https:\/\/www.kindsonthegenius.com\/nodejs\/node-js-global-objects\/\">Global Objects was covered previously. You can review it.<\/a><\/p>\n<p>&nbsp;<\/p>\n<h4><strong>What is REPL Console<\/strong><\/h4>\n<p>Just think of the REPL console of it as an interactive mode of Node.js.<\/p>\n<p>The REPL Console in Node.js performs the following tasks:<\/p>\n<p><strong>Read<\/strong> &#8211; Reads an input from the\u00a0 user. Then parses the input into JavaScript. Finally, it stores the data in memory<\/p>\n<p><strong>Eval<\/strong> &#8211; Evaluates a specified data structure<\/p>\n<p><strong>Print<\/strong> &#8211; Prints out the result to the output<\/p>\n<p><strong>Loop<\/strong> &#8211;\u00a0 Loops through the previous commands until the user quits the console. You quit the console using Ctrl+C<\/p>\n<p>The\u00a0 REPL console in Node.js is very useful in runing codes in interactive mode. Also, it gives you a feel on the Linux\/Unix shell. Besides, it&#8217;s a very good tool for debugging.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>Starting REPL Console<\/strong><\/h4>\n<p>You already know how to run Node.js script. Now to start the REPL console, just type node and press Enter on the keyboard. It enters the REPL console and displays the prompt &gt;.<\/p>\n<p>&nbsp;<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">PS D<span style=\"color: #333333;\">:<\/span>\\Documents\\NodeJSTutorials<span style=\"color: #333333;\">&gt;<\/span> node\r\n<span style=\"color: #333333;\">&gt;<\/span>\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Simple Expressions<\/strong><\/p>\n<p>Now you can enter commands. For example, enter the expression 20 + 3 and press Enter. Then try (10 * 5) + (2 * 5).<\/p>\n<p>You screen would be as shown below<\/p>\n<p>&nbsp;<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">PS D:\\Documents\\NodeJSTutorials&gt; node\r\n&gt; 20 + 3\r\n23\r\n&gt; (10 * 5) + (2 * 5)\r\n60\r\n&gt;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>I recommend you play around with different number. Just to get used to it.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Working With Variables<\/strong><\/p>\n<p>In the REPL Console, you can also use variables to store data. This is similar to how you use variables in programs.<\/p>\n<p>If you use the var keyword to declare a variable, then its value is stored but not printed. If however you omit the var keyword, then the value is stored and the variable is printed.<\/p>\n<p>Again you can print data using the normal <strong>console.log()<\/strong><\/p>\n<p>See the example below:<\/p>\n<p>&nbsp;<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">PS D:\\Documents\\NodeJSTutorials&gt; node\r\n&gt; x = 20\r\n20\r\n&gt; y = 30\r\n30\r\n&gt; var z = 40\r\nundefined\r\n&gt; x + y\r\n50\r\n&gt; console.log(\"Node.JS Tutorial\")\r\nNode.JS Tutorial\r\nundefined\r\n&gt;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Multi-line Statements<\/strong><\/p>\n<p>You can also use mulitline\u00a0 expression in the REPL console. Let&#8217;s take an example:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">PS D:\\Documents\\NodeJSTutorials&gt; node\r\n&gt; var a = 0\r\nundefined\r\n&gt; while(a &lt; 5) {\r\n... a++;\r\n... console.log(\"a = \" + a);\r\n... };\r\na = 1\r\na = 2\r\na = 3\r\na = 4\r\na = 5\r\nundefined\r\n&gt;\r\n<\/pre>\n<p>In the example above we created a while loop that prints out numbers from 1 to 5. Also notice that it add &#8230; once you start writing multiline statement.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Underscore Variable<\/strong><\/p>\n<p>This is a special variable used to get the last result.<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">$ node\r\n&gt; var a = 5\r\nundefined\r\n&gt; var b = 10\r\nundefined\r\n&gt; a + b\r\n15\r\n&gt; var sum = _\r\nundefined\r\n&gt; console.log(sum)\r\n15\r\nundefined\r\n&gt;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Commands in REPL Console<\/strong><\/p>\n<p>You can used the following commands to perform certain operations<\/p>\n<ul class=\"list\">\n<li><b>ctrl + c<\/b> \u2212 end the current command. Also the exit the console<\/li>\n<li><b>ctrl + c twice<\/b> \u2212 end the Node REPL Console.<\/li>\n<li><b>ctrl + d<\/b> \u2212 exit the\u00a0 Node REPL Console<\/li>\n<li><b>Up\/Down Keys<\/b> \u2212 see history of previously used command and modify previous commands.<\/li>\n<li><b>tab Keys<\/b> \u2212 list of currently used commands.<\/li>\n<li><b>.help<\/b> \u2212 list of all availabel commands.<\/li>\n<li><b>.break<\/b> \u2212 exit from the current multiline expression.<\/li>\n<li><b>.clear<\/b>\u00a0\u2212 exit from multiline expression.<\/li>\n<li><b>.save\u00a0<i>filename<\/i><\/b> \u2212 save the current Console\u00a0 session to a file.<\/li>\n<li><b>.load\u00a0<i>filename<\/i><\/b> \u2212 loads file content in current Node REPL Console session.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We would learn about the REPL Console in this lesson. REPL means Read Eval Print Loop. Sometimes it is called Node.js terminal. It is a &hellip; <\/p>\n","protected":false},"author":1,"featured_media":39,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-node-js-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Node.js - REPL Console - Node.js Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Node.js - REPL Console - Node.js Tutorials\" \/>\n<meta property=\"og:description\" content=\"We would learn about the REPL Console in this lesson. REPL means Read Eval Print Loop. Sometimes it is called Node.js terminal. It is a &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/\" \/>\n<meta property=\"og:site_name\" content=\"Node.js Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-28T17:47:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-06T09:55:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-content\/uploads\/sites\/5\/2019\/03\/REPL-Console-in-Node.js.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"888\" \/>\n\t<meta property=\"og:image:height\" content=\"439\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"kindsonthegenius\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"kindsonthegenius\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/\"},\"author\":{\"name\":\"kindsonthegenius\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/#\\\/schema\\\/person\\\/7f8fc5792578d2ff54003fcebe6c46b5\"},\"headline\":\"Node.js &#8211; REPL Console\",\"datePublished\":\"2019-03-28T17:47:52+00:00\",\"dateModified\":\"2020-08-06T09:55:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/\"},\"wordCount\":504,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2019\\\/03\\\/REPL-Console-in-Node.js.jpg\",\"articleSection\":[\"Node.js Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/\",\"url\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/\",\"name\":\"Node.js - REPL Console - Node.js Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2019\\\/03\\\/REPL-Console-in-Node.js.jpg\",\"datePublished\":\"2019-03-28T17:47:52+00:00\",\"dateModified\":\"2020-08-06T09:55:55+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/#\\\/schema\\\/person\\\/7f8fc5792578d2ff54003fcebe6c46b5\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2019\\\/03\\\/REPL-Console-in-Node.js.jpg\",\"contentUrl\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2019\\\/03\\\/REPL-Console-in-Node.js.jpg\",\"width\":888,\"height\":439,\"caption\":\"REPL Console in Node.js\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/04-node-js-repl-console\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Node.js &#8211; REPL Console\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/#website\",\"url\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/\",\"name\":\"Node.js Tutorials\",\"description\":\"Best Node.js Tutorials\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/#\\\/schema\\\/person\\\/7f8fc5792578d2ff54003fcebe6c46b5\",\"name\":\"kindsonthegenius\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"caption\":\"kindsonthegenius\"},\"url\":\"https:\\\/\\\/www.kindsonthegenius.com\\\/nodejs\\\/author\\\/kindsonthegenius-3\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Node.js - REPL Console - Node.js Tutorials","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:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/","og_locale":"en_US","og_type":"article","og_title":"Node.js - REPL Console - Node.js Tutorials","og_description":"We would learn about the REPL Console in this lesson. REPL means Read Eval Print Loop. Sometimes it is called Node.js terminal. It is a &hellip;","og_url":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/","og_site_name":"Node.js Tutorials","article_published_time":"2019-03-28T17:47:52+00:00","article_modified_time":"2020-08-06T09:55:55+00:00","og_image":[{"width":888,"height":439,"url":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-content\/uploads\/sites\/5\/2019\/03\/REPL-Console-in-Node.js.jpg","type":"image\/jpeg"}],"author":"kindsonthegenius","twitter_card":"summary_large_image","twitter_misc":{"Written by":"kindsonthegenius","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#article","isPartOf":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/"},"author":{"name":"kindsonthegenius","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/#\/schema\/person\/7f8fc5792578d2ff54003fcebe6c46b5"},"headline":"Node.js &#8211; REPL Console","datePublished":"2019-03-28T17:47:52+00:00","dateModified":"2020-08-06T09:55:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/"},"wordCount":504,"commentCount":1,"image":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#primaryimage"},"thumbnailUrl":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-content\/uploads\/sites\/5\/2019\/03\/REPL-Console-in-Node.js.jpg","articleSection":["Node.js Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/","url":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/","name":"Node.js - REPL Console - Node.js Tutorials","isPartOf":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#primaryimage"},"image":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#primaryimage"},"thumbnailUrl":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-content\/uploads\/sites\/5\/2019\/03\/REPL-Console-in-Node.js.jpg","datePublished":"2019-03-28T17:47:52+00:00","dateModified":"2020-08-06T09:55:55+00:00","author":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/#\/schema\/person\/7f8fc5792578d2ff54003fcebe6c46b5"},"breadcrumb":{"@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#primaryimage","url":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-content\/uploads\/sites\/5\/2019\/03\/REPL-Console-in-Node.js.jpg","contentUrl":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-content\/uploads\/sites\/5\/2019\/03\/REPL-Console-in-Node.js.jpg","width":888,"height":439,"caption":"REPL Console in Node.js"},{"@type":"BreadcrumbList","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/04-node-js-repl-console\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.kindsonthegenius.com\/nodejs\/"},{"@type":"ListItem","position":2,"name":"Node.js &#8211; REPL Console"}]},{"@type":"WebSite","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/#website","url":"https:\/\/www.kindsonthegenius.com\/nodejs\/","name":"Node.js Tutorials","description":"Best Node.js Tutorials","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.kindsonthegenius.com\/nodejs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.kindsonthegenius.com\/nodejs\/#\/schema\/person\/7f8fc5792578d2ff54003fcebe6c46b5","name":"kindsonthegenius","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","caption":"kindsonthegenius"},"url":"https:\/\/www.kindsonthegenius.com\/nodejs\/author\/kindsonthegenius-3\/"}]}},"_links":{"self":[{"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":2,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":121,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/posts\/38\/revisions\/121"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/media\/39"}],"wp:attachment":[{"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/nodejs\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}