Node.js: Difference between revisions

Content deleted Content added
No edit summary
Internal link
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Line 16:
'''Node.js''' is a [[cross-platform]], [[Open-source software|open-source]] [[JavaScript]] [[Runtime environment|runtime environment]] that can run on [[Microsoft Windows|Windows]], [[Linux]], [[Unix]], [[macOS]], and more. Node.js runs on the [[V8 (JavaScript engine)|V8]] [[JavaScript engine]], and executes JavaScript code outside a [[web browser]].
 
Node.js lets developers use JavaScript to write [[Command-line interface|command line tools]] and for [[server-side scripting]]. The ability to run JavaScript code on the server is often used to generate [[dynamic web page]] content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm,<ref>{{cite web |last=gcuomo |date=24 October 2013 |title=JavaScript Everywhere and the Three Amigos (Into the wild BLUE yonder!) |url=https://www.ibm.com/developerworks/community/blogs/gcuomo/entry/javascript_everywhere_and_the_three_amigos?lang=en |archive-url=https://web.archive.org/web/20131114212619/https://www.ibm.com/developerworks/community/blogs/gcuomo/entry/javascript_everywhere_and_the_three_amigos?lang=en |archive-date=November 14, 2013 |access-date=2013-10-24 |website=www.ibm.com}}</ref> unifying [[web application|web-application]] development around a single [[programming language]], as opposed to using different languages for the server- versus client-side programming.
 
Node.js has an [[event-driven architecture]] capable of [[asynchronous I/O]]. These design choices aim to optimize [[throughput]] and [[scalability]] in web applications with many input/output operations, as well as for [[real-time Web]] applications (e.g., [[real-time communication]] programs and [[browser game]]s).<ref name="readwrite">{{cite web |author=Laurent Orsini |date=2013-11-07 |title=What You Need To Know About Node.js |url=http://readwrite.com/2013/11/07/what-you-need-to-know-about-nodejs |access-date=2022-02-06 |website=readwrite.com}}</ref>