[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-692311-105":3,"doc-detail-692311-en":81,"detail-sidebar-cat-0-en-105":133,"doc-similar-692311":178},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","nodejs-course","Node.js Course","","Node.js Course is a curated, step-by-step guide to running JavaScript outside the browser using the Node.js runtime. It covers installation, executing scripts, using the REPL, and passing command-line arguments, plus practical console output and input handling. The course then explains modules and npm, including CommonJS and ES modules, package.json, dependency management, and semantic versioning. It also teaches file and path operations with fs, asynchronous code with events, error handling, streams, and server development with environment variables and HTTP request routing, including building small JSON and HTML-serving servers.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/nodejs-course/692311/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/nodejs-course/692311.png","ImageObject",300,407,{"name":42,"@type":43},"Finn","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the Node.js runtime, and how does it run JavaScript?","Question",{"text":63,"@type":64},"Node.js runs JavaScript outside the browser on the server using the V8 engine. It provides access to files, the network, and the operating system instead of the browser DOM.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Which topics does the course cover for modules and npm?",{"text":68,"@type":64},"It covers the Node core modules, CommonJS and ES modules, exporting functionality, and the package.json guide. It also explains npm dependencies, devDependencies, semantic versioning, and locking dependency versions.",{"name":70,"@type":61,"acceptedAnswer":71},"How does the course guide you to build servers with Node.js?",{"text":72,"@type":64},"It explains reading environment variables and loading environment files, then building HTTP servers. It covers serving HTML pages, handling request body data, making HTTP POST requests, routing by method and URL, and shutting a server down gracefully.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},692311,1794192942,{"code":4,"msg":82,"data":83},"success",{"doc_id":79,"user_id":84,"nickname":42,"user_avatar":85,"doc_module":4,"category_id":86,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":87,"file_id":88,"file_url":89,"file_type":90,"file_size":91,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":92,"language":93,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":94,"faqs":95,"seo_title":96,"seo_description":12,"update_tm":80,"read_time":97,"preview_page_count":98,"preview_urls":99},34359740700684,"https://ap-avatar.wpscdn.com/avatar/1f400023980c374ae676?_k=1777273430885731487",6,"Node.js Course  \nFlavio Copes  \nUpdated November 6, 2026  \nContents  \nThe Node.js runtime 2  \nThe Node.js Guide ........................................ 2  \nHow to install Node.js ...................................... 4  \nDifferences between Node and the Browser . . . . . . . . . . . . . . . . . . . . . . . . . . 5  \nHow to use the Node.js REPL .................................. 6  \nRun a Node.js script ....................................... 9  \nNode, accept arguments from the command line ....................... 10  \nOutput to the command line using Node ............................ 11  \nAccept input from the command line in Node ......................... 14  \nCheck your understanding: the Node.js runtime ........................ 15  \nModules and npm 15  \nThe Node Core Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  \nCommonJS modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  \nExpose functionality from a Node file using exports ...................... 17  \nES modules in Node.js ...................................... 18  \nThe package.json guide ..................................... 19  \nAn introduction to the npm package manager ......................... 25  \nnpm dependencies and devDependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  \nSemantic Versioning using npm ................................. 28  \nLock dependency versions .................................... 29  \nCheck your understanding: modules and npm ......................... 29  \nFiles and paths 30  \nThe Node fs module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  \nReading files with Node ..................................... 31  \nHow to use the Node.js fs module with async/await ..................... 33  \nWriting files with Node ..................................... 34  \nWorking with folders in Node .................................. 35  \nNode File Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  \nNode file stats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  \nChoose a filesystem API style .................................. 40  \nBuild a notes command-line program .............................. 41  \nCheck your understanding: files and paths ........................... 42  \nAsynchronous code and events 42  \nTrace synchronous code, promises, and timers ......................... 42  \nUnderstanding process.nextTick() ................................ 44  \nUnderstanding setImmediate() ................................. 45  \nUse promises and await with Node.js callbacks ........................ 46  \nThe Node Event emitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48  \nError handling in Node.js .................................... 50  \nNode.js Streams ......................................... 52  \nDo not block the event loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57  \nHandle asynchronous failures .................................. 58  \nCheck your understanding: asynchronous code and events .................. 59  \nServers and environment 59  \nHow to read environment variables from Node.js ....................... 59  \nLoad an environment file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60  \nBuild an [HTTP](HTTP) Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61  \nServe an HTML page using Node.js ............................... 62  \nGet [HTTP request](HTTP request) body data using Node ........................... 64  \nMake an [HTTP POST request](HTTP POST request) using Node .......................... 65  \nRoute requests by method and URL .............................. 67  \nNode, the difference between development and production .................. 68  \nWhere to host a Node.js app .................................. 72  \nShut a server down","cbCaibsShT9nr3d4","https://ap.wps.com/l/cbCaibsShT9nr3d4","pdf",299511,76,"English","# The Node.js runtime\n## The Node.js Guide\n## How to install Node.js\n## Differences between Node and the Browser\n## How to use the Node.js REPL\n## Run a Node.js script\n## Modules and npm\n## Files and paths\n## Asynchronous code and events\n## Servers and environment","[{\"question\":\"What is the Node.js runtime, and how does it run JavaScript?\",\"answer\":\"Node.js runs JavaScript outside the browser on the server using the V8 engine. It provides access to files, the network, and the operating system instead of the browser DOM.\"},{\"question\":\"Which topics does the course cover for modules and npm?\",\"answer\":\"It covers the Node core modules, CommonJS and ES modules, exporting functionality, and the package.json guide. It also explains npm dependencies, devDependencies, semantic versioning, and locking dependency versions.\"},{\"question\":\"How does the course guide you to build servers with Node.js?\",\"answer\":\"It explains reading environment variables and loading environment files, then building HTTP servers. It covers serving HTML pages, handling request body data, making HTTP POST requests, routing by method and URL, and shutting a server down gracefully.\"}]","Node.js Course | PDF",192,8,[100,104,108,112,116,121,125,129],{"page_no":22,"url":101,"width":102,"height":103},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5cbf5c382f3d3c0db8c17a6ea89c7e55.webp",983,1390,{"page_no":26,"url":105,"width":106,"height":107},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/910a66b2249f1c1536f97950d57ca08d.webp",982,1388,{"page_no":30,"url":109,"width":110,"height":111},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ed6ca89e4c643f09d01786c58b786138.webp",981,1387,{"page_no":33,"url":113,"width":114,"height":115},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/46909a8f4662c1914d0236e899815f69.webp",980,1385,{"page_no":117,"url":118,"width":119,"height":120},5,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7cd55ba7cb7cab761971b9adb4ea4e97.webp",979,1384,{"page_no":86,"url":122,"width":123,"height":124},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9344c21d97069b92d4d6bedbf1843daf.webp",978,1383,{"page_no":55,"url":126,"width":127,"height":128},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/4e563e498837e34b4eb00e52f11a60cf.webp",977,1381,{"page_no":98,"url":130,"width":131,"height":132},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2bb88b45e4c81c408121b87467629e97.webp",976,1380,{"code":4,"msg":82,"data":134},[135,139,143,147,151,154,158,162,167,170,174],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":136,"show_sort_weight":137,"slug":138},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":140,"show_sort_weight":141,"slug":142},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":144,"show_sort_weight":145,"slug":146},"Exam",70,"exam",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":148,"show_sort_weight":149,"slug":150},"Comic",60,"comic",{"id":86,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":152,"slug":153},50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":155,"show_sort_weight":156,"slug":157},"Healthcare",40,"healthcare",{"id":98,"doc_module":4,"doc_module_name":25,"category_name":159,"show_sort_weight":160,"slug":161},"Research & Report",30,"research-report",{"id":163,"doc_module":4,"doc_module_name":25,"category_name":164,"show_sort_weight":165,"slug":166},9,"Religion & Spirituality",20,"religion-spirituality",{"id":165,"doc_module":4,"doc_module_name":25,"category_name":168,"show_sort_weight":165,"slug":169},"World Cup","world-cup",{"id":171,"doc_module":4,"doc_module_name":25,"category_name":172,"show_sort_weight":171,"slug":173},10,"Lifestyle","lifestyle",{"id":175,"doc_module":4,"doc_module_name":25,"category_name":176,"show_sort_weight":117,"slug":177},19,"General","general",{"list":179,"token":11},[180,186,192,198,205,211,217,223,229,235],{"doc_id":181,"doc_title":182,"file_type":90,"home_preview_img_url":183,"slug":184,"view_count":117,"category_name":29,"create_tm":185},692308,"How To Code in Node.js - Chapter 1 - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003200056/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=NbKCER4WIGz24a8ZiFpvYhW%2BxU8%3D","how-to-code-in-nodejs-chapter-1-getting-started",1794192939,{"doc_id":187,"doc_title":188,"file_type":90,"home_preview_img_url":189,"slug":190,"view_count":22,"category_name":29,"create_tm":191},759798,"Node.js Notes for Professionals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485017/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=sfO687RmMpS0fZt%2FkjDtHXWPZ2o%3D","nodejs-notes-for-professionals",1795895079,{"doc_id":193,"doc_title":194,"file_type":90,"home_preview_img_url":195,"slug":196,"view_count":22,"category_name":29,"create_tm":197},759801,"The Node.js Handbook - Introduction to Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485168/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Xf5Jg2ONKBHi6WZco0WP5Bdsr9A%3D","the-nodejs-handbook-introduction-to-nodejs",1795895118,{"doc_id":199,"doc_title":200,"file_type":90,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":29,"create_tm":204},692305,"The Complete Node.js Dev Course - Version 3 - Section Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003199835/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=%2FskYD%2BmiS2%2Fuk2%2BQ8N7muOMUTqU%3D","the-complete-nodejs-dev-course-version-3-section-outline",11,1794192933,{"doc_id":206,"doc_title":207,"file_type":90,"home_preview_img_url":208,"slug":209,"view_count":22,"category_name":29,"create_tm":210},759796,"Microservices with Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044484999/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=CazG0icqfrDuM534G5pMp589jyc%3D","microservices-with-nodejs",1795895075,{"doc_id":212,"doc_title":213,"file_type":90,"home_preview_img_url":214,"slug":215,"view_count":117,"category_name":29,"create_tm":216},692310,"Pro Node.js for Developers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003200149/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=ytoE%2BS0UEkN1IPlVz4Md14NLk2E%3D","pro-nodejs-for-developers",1794192941,{"doc_id":218,"doc_title":219,"file_type":90,"home_preview_img_url":220,"slug":221,"view_count":117,"category_name":29,"create_tm":222},692307,"The Essential Guide to the Node Package Manager - read online","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003199969/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=teI9f0OrYs%2Fkp%2BcV0XY5qJ2%2F3Ko%3D","the-essential-guide-to-the-node-package-manager-read-online",1794192935,{"doc_id":224,"doc_title":225,"file_type":90,"home_preview_img_url":226,"slug":227,"view_count":86,"category_name":29,"create_tm":228},692304,"Node.js Handbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003199810/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=RWzdsegyf%2FK4bRVvnHQZ%2FDcqqHA%3D","nodejs-handbook",1794192930,{"doc_id":230,"doc_title":231,"file_type":90,"home_preview_img_url":232,"slug":233,"view_count":203,"category_name":29,"create_tm":234},489296,"SSUI-11-12-React - React for JavaScript","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926988879/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=q8MM73YqPhM9OYrrgBlLFLka9%2BU%3D","ssui-11-12-react-react-for-javascript",1790822029,{"doc_id":236,"doc_title":237,"file_type":90,"home_preview_img_url":238,"slug":239,"view_count":26,"category_name":29,"create_tm":240},721616,"JavaScript From Zero to Hero - The Most Complete Guide Ever - Master Modern JavaScript Even If You’re New to Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230025022797/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=BYltSec9O%2Flo9xETgyLLppa5aWI%3D","javascript-from-zero-to-hero-the-most-complete-guide-ever-master-modern-javascript-even-if-youre-new-to-programming",1795060949]