-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c27c36a
commit 6b5a0c6
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Node.js | ||
|
||
Node.js - асинхронное событийное JavaScript-окружение, Node.js спроектирован для построения масштабируемых сетевых приложений. | ||
|
||
Этот подход контрастирует с более распространенной на сегодняшний день моделью параллелизма, в которой используются параллельные OS потоки. Такой подход является относительно неэффективным и очень сложным в использовании. Кроме того, пользователи Node.js могут не беспокоиться о блокировках процессов, поскольку их не существует. Почти ни одна из функций в Node.js не работает напрямую с I/O, поэтому поток никогда не блокируется. В следствии этого на Node.js легко разрабатывать масштабируемые системы. | ||
|
||
## Установка из репозитория | ||
|
||
**Node.js** можно установить используя терминал: | ||
|
||
::: code-group | ||
|
||
```bash[apt-get] | ||
su - | ||
apt-get update | ||
apt-get install nodejs npm | ||
``` | ||
```bash[epm] | ||
epm -i nodejs npm | ||
``` | ||
::: |