add REPL documentation
This commit is contained in:
parent
ff6a8fac2a
commit
4d0cef5070
1 changed files with 21 additions and 0 deletions
21
docs/api/repl.md
Normal file
21
docs/api/repl.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# REPL
|
||||
|
||||
Read-Eval-Print-Loop (REPL) is a simple, interactive computer programming
|
||||
environment that takes single user inputs (i.e. single expressions), evaluates
|
||||
them, and returns the result to the user.
|
||||
|
||||
The `repl` module provides REPL implementation that can be accessed using:
|
||||
|
||||
* Assuming you have `electron` or `electron-prebuilt` installed as a local
|
||||
project dependency:
|
||||
|
||||
```sh
|
||||
./node_modules/.bin/electron --interactive
|
||||
```
|
||||
* Assuming you have `electron` or `electron-prebuilt` installed globally:
|
||||
|
||||
```sh
|
||||
electron --interactive
|
||||
```
|
||||
|
||||
More info here: https://github.com/nodejs/node/blob/master/doc/api/repl.md
|
Loading…
Add table
Reference in a new issue