fix(demo): convert to LF & add link to include note function

This commit is contained in:
Elian Doran
2025-04-05 01:25:54 +03:00
parent fdc946ef49
commit 320439333d
21 changed files with 57 additions and 6 deletions

View File

@@ -0,0 +1,29 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../../style.css">
<base target="_parent">
<title data-trilium-title>Intro</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Intro</h1>
<div class="ck-content">
<p><strong>Node.js</strong> is an <a href="https://en.wikipedia.org/wiki/Open-source_software">open-source</a>,
<a
href="https://en.wikipedia.org/wiki/Cross-platform">cross-platform</a>, <a href="https://en.wikipedia.org/wiki/JavaScript">JavaScript</a>
<a
href="https://en.wikipedia.org/wiki/Runtime_system">runtime environment</a>that executes JavaScript code outside of a browser.
Node.js lets developers use JavaScript to write command line tools and
for <a href="https://en.wikipedia.org/wiki/Server-side_scripting">server-side scripting</a>—running
scripts server-side to produce <a href="https://en.wikipedia.org/wiki/Dynamic_web_page">dynamic web page</a> content
before the page is sent to the user's web browser.&nbsp;</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../../style.css">
<base target="_parent">
<title data-trilium-title>Overview</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Overview</h1>
<div class="ck-content">
<p>Node.js allows the creation of <a href="https://en.wikipedia.org/wiki/Web_server">Web servers</a> and
networking tools using <a href="https://en.wikipedia.org/wiki/JavaScript">JavaScript</a> and
a collection of "modules" that handle various core functionalities.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b3-28">[28]</a>
<a
href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a><a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b2-44">[44]</a>
<a
href="https://en.wikipedia.org/wiki/Node.js#cite_note-b4-45">[45]</a><a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b5-46">[46]</a> Modules
are provided for <a href="https://en.wikipedia.org/wiki/File_system">file system</a> I/O,
networking (<a href="https://en.wikipedia.org/wiki/Domain_Name_System">DNS</a>,
<a
href="https://en.wikipedia.org/wiki/HTTP">HTTP</a>, <a href="https://en.wikipedia.org/wiki/Transmission_Control_Protocol">TCP</a>,
<a
href="https://en.wikipedia.org/wiki/Transport_Layer_Security">TLS/SSL</a>, or <a href="https://en.wikipedia.org/wiki/User_Datagram_Protocol">UDP</a>),
<a
href="https://en.wikipedia.org/wiki/Binary_file">binary</a>data (buffers), <a href="https://en.wikipedia.org/wiki/Cryptography">cryptography</a> functions,
<a
href="https://en.wikipedia.org/wiki/Stream_(computing)">data streams</a>, and other core functions.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>
<a
href="https://en.wikipedia.org/wiki/Node.js#cite_note-b4-45">[45]</a><a href="https://en.wikipedia.org/wiki/Node.js#cite_note-47">[47]</a> Node.js's
modules use an API designed to reduce the complexity of writing server
applications.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>
<a
href="https://en.wikipedia.org/wiki/Node.js#cite_note-b4-45">[45]</a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,29 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../../../style.css">
<base target="_parent">
<title data-trilium-title>History</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>History</h1>
<div class="ck-content">
<p>Node.js was written initially by <a href="https://en.wikipedia.org/wiki/Ryan_Dahl">Ryan Dahl</a> in
2009,<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-training.com-24">[24]</a> about
thirteen years after the introduction of the first server-side JavaScript
environment, Netscape's LiveWire Pro Web.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-25">[25]</a> The
initial release supported only Linux and Mac OS X. Its development and
maintenance was led by Dahl and later sponsored by <a href="https://en.wikipedia.org/wiki/Joyent">Joyent</a>.
<a
href="https://en.wikipedia.org/wiki/Node.js#cite_note-Google_Groups_post_by_Ryan_Dahl_about_Joyent-26">[26]</a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,24 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../../../style.css">
<base target="_parent">
<title data-trilium-title>Industry support</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Industry support</h1>
<div class="ck-content">
<p>There are thousands of open-source libraries for Node.js, most of them
hosted on the <a href="https://en.wikipedia.org/wiki/Npm_(software)">npm</a> website.
The Node.js developer community has two main mailing lists and the <a href="https://en.wikipedia.org/wiki/IRC">IRC</a> channel
#node.js on <a href="https://en.wikipedia.org/wiki/Freenode">freenode</a>.&nbsp;</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,29 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../../../style.css">
<base target="_parent">
<title data-trilium-title>Platform architecture</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Platform architecture</h1>
<div class="ck-content">
<p>Node.js brings <a href="https://en.wikipedia.org/wiki/Event-driven_programming">event-driven programming</a> to
<a
href="https://en.wikipedia.org/wiki/Web_server">web servers</a>, enabling development of fast web servers in JavaScript.
<a
href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>Developers can create scalable servers without using <a href="https://en.wikipedia.org/wiki/Thread_(computing)">threading</a>,
by using a simplified model of <a href="https://en.wikipedia.org/wiki/Event-driven_programming">event-driven programming</a> that
uses callbacks to signal the completion of a task.<a href="https://en.wikipedia.org/wiki/Node.js#cite_note-b1-31">[31]</a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../../style.css">
<base target="_parent">
<title data-trilium-title>Releases</title>
</head>
<body>
<div class="content">
<h1 data-trilium-h1>Releases</h1>
<div class="ck-content">
<p>New major releases of Node.js are cut from the <a href="https://en.wikipedia.org/wiki/GitHub">GitHub</a> master
branch every six months. Even-numbered versions are cut in April and odd-numbered
versions are cut in October. When a new odd version is released, the previous
even version undergoes transition to Long Term Support (LTS), which gives
that version 18 months of active support from the date it is designated
LTS.</p>
</div>
</div>
</body>
</html>