Node.js Node Module System (refs): Difference between revisions

From WikiMLT
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--[[Category:JavaScript|?]]-->{{ContentArticleHeader/JavaScript}}</noinclude>
<noinclude><!--[[Category:JavaScript|?]]-->{{ContentArticleHeader/JavaScript}}</noinclude>
== References ==
== References ==


Line 9: Line 10:
*https://nodejs.org/en/docs/
*https://nodejs.org/en/docs/
*https://nodejs.org/dist/latest-v16.x/docs/api/
*https://nodejs.org/dist/latest-v16.x/docs/api/
*[https://kontext.tech/column/sql-databases/615/install-mysql-on-wsl Context.tech: '''Install MySQL on WSL''']


== Introduction ==
== Introduction ==
Line 19: Line 19:
* <code>http</code>
* <code>http</code>
*for more modules look at [https://www.w3schools.com/nodejs/ref_modules.asp W3S Built-in Modules Reference.]
*for more modules look at [https://www.w3schools.com/nodejs/ref_modules.asp W3S Built-in Modules Reference.]
Also we could create our own modules.
Also we could create our own modules.<noinclude>
 
== Global Object ==
<noinclude>
<div id='devStage'>
<div id='devStage'>
{{devStage  
{{devStage  
  | Прндл  = JavaScript
  | Прндл  = JavaScript
  | Пбрдб = В
  | Пдрдб = Б
  | Стадий = 3
  | Стадий = 6
  | Фаза  = Разработване
  | Фаза  = Утвърждаване
  | Статус = Разработван
  | Статус = Утвърден
  | ИдтПт  = Spas
  | ИдтПт  = Spas
  | РзбПт  = {{REVISIONUSER}}
  | РзбПт = Spas
| АвтПт  = Spas
| УтвПт = {{REVISIONUSER}}
  | ИдтДт  = 1.08.2022
  | ИдтДт  = 1.08.2022
  | РзбДт  = {{Today}}
  | РзбДт = 12.02.2023
| АвтДт  = 12.02.2023
| УтвДт = {{Today}}
  | ИдтРв  = [[Special:Permalink/29665|29665]]
  | ИдтРв  = [[Special:Permalink/29665|29665]]
  | РзбРв  = {{REVISIONID}}
  | РзбРв = [[Special:Permalink/32240|32240]]
| АвтРв  = [[Special:Permalink/32241|32241]]
| УтвРв = {{REVISIONID}}
}}
}}
</div>
</div>
</noinclude>
</noinclude>

Latest revision as of 16:33, 11 March 2023

Ref­er­ences

In­tro­duc­tion

Con­sid­er mod­ules to be the same as JavaScript li­braries. A set of func­tions you want to in­clude in your ap­pli­ca­tion. There is a num­ber of mod­ules that are build-in the core of Node. Such mod­ules are:

Al­so we could cre­ate our own mod­ules.