add REPL documentation
authorAmitoj <iamamitoj@gmail.com>
Sun, 2 Oct 2016 12:50:29 +0000 (18:20 +0530)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2016 12:50:29 +0000 (18:20 +0530)
docs/api/repl.md [new file with mode: 0644]

diff --git a/docs/api/repl.md b/docs/api/repl.md
new file mode 100644 (file)
index 0000000..65a142c
--- /dev/null
@@ -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