Evaluates JavaScript, TypeScript, and CoffeeScript directly in Atom. A fork of Roben Kleene's run-in-atom package.
- Code is evaluated in sandboxed Node VM
- Runs JavaScript, TypeScript, CoffeeScript
- Supports Babel Presets
- Define custom scopes for each supported language
Install evaluate
from Atom's Package Manager or the command-line equivalent:
$ apm install evaluate
Change to your Atom packages directory:
# Windows
$ cd %USERPROFILE%\.atom\packages
# Linux & macOS
$ cd ~/.atom/packages/
Clone the repository as evaluate
:
$ git clone https://github.com/idleberg/atom-evaluate evaluate
To evaluate code, run the command from the context-menu, the command palette or using the Cmd+Alt+R shortcut. You can evaluate entire files or selections (Note that code will be evaluated in the order it has been selected!)
This work is licensed under the The MIT License.