Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.