https://github.com/piecioshka/executor-editor
🔨 Display and evaluate your JavaScript code.
https://github.com/piecioshka/executor-editor
Last synced: 4 months ago
JSON representation
🔨 Display and evaluate your JavaScript code.
- Host: GitHub
- URL: https://github.com/piecioshka/executor-editor
- Owner: piecioshka
- Created: 2012-04-14T12:00:31.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T12:08:48.000Z (4 months ago)
- Last Synced: 2025-03-16T14:53:24.188Z (4 months ago)
- Language: JavaScript
- Homepage: http://piecioshka.github.io/executor-editor/demo/
- Size: 9.21 MB
- Stars: 41
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# executor-editor
[](https://www.npmjs.com/package/executor-editor)
[](https://badge.fury.io/js/executor-editor)
[](https://www.npmjs.com/package/executor-editor)
[](https://packagephobia.com/result?p=executor-editor)
[](https://piecioshka.mit-license.org)
[](https://github.com/piecioshka/executor-editor/actions/workflows/testing.yml)🔨 Display and evaluate your JavaScript code.
## Preview 🎉

## Features
- ✅ Embed any programming code
- ✅ Highlight JavaScript syntax
- ✅ Auto-evaluate the JavaScript code
- ✅ Execute code on demand
- ✅ Layout modes: `horizontal`, `vertical`
- ✅ Multiple instance on single page
- ✅ Support skins
- ✅ Display errors in red color## Usage
Installation:
```bash
npm install executor-editor
```or
```bash
bower install executor-editor
```1. Add CSS class `executor-editor` to HTML element:
```html
class Cake {
toString() {
return '[Cake]';
}
}console.log(String(new Cake()));
```2. Add on the bottom of page, example before `