spencermountain / wtf_wikipedia

a pretty-committed wikipedia markup parser
https://observablehq.com/@spencermountain/wtf_wikipedia
MIT License
778 stars 129 forks source link

Added ES6 version of apiDemo #544

Closed rg3h closed 1 year ago

rg3h commented 1 year ago

Did a simple variation on apiDemo in apiDemo/es6Version to use the more modern import module methods. This version requires an https server to run (e.g. python or node for local testing). but its modularity will allow better integration with other modern JS code architectures.

To run it, fire up an https server with the webroot set to wtf_wikipedia/ https://localhost:8000 demos/apiDemo/es6Version/apiDemoES6.html