| 
									
										
										
										
											2016-10-02 18:20:29 +05:30
										 |  |  | # 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. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-02 23:42:37 +05:30
										 |  |  | The `repl` module provides a REPL implementation that can be accessed using: | 
					
						
							| 
									
										
										
										
											2016-10-02 18:20:29 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | * 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 |