Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinwojtus/js-code-runner
A lightweight js library for running js-html-css snippets inline
https://github.com/martinwojtus/js-code-runner
Last synced: about 1 month ago
JSON representation
A lightweight js library for running js-html-css snippets inline
- Host: GitHub
- URL: https://github.com/martinwojtus/js-code-runner
- Owner: martinwojtus
- License: mit
- Created: 2019-12-29T01:17:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T10:19:22.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T00:55:55.009Z (almost 2 years ago)
- Language: JavaScript
- Size: 3.72 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js-code-runner
A lightweight js library that will make your **js/html/css** codes come alive.
## Screenshots
##### Change this
![](/examples/images/js-code-runner.png)
##### Into this
![](/examples/images/js-code-runner-example.gif)
## Features
* Using lazy loading (with **dynamic-import**)
* Supports VanillaJS, React, Vue, SASS, Pug, Preact, CoffeeScript2 (check examples),
* Appending external resources,
* JavaScript console,
* Works with syntax highlighters like PrismJS or Highlight.js (just make sure **js-code-runner** was include before these libraries).## License
js-code-runner is released under the MIT license.