prinsss / node-tikzjax Goto Github PK
View Code? Open in Web Editor NEWA port of TikZJax runs on pure Node.js and WebAssembly.
Home Page: https://stackblitz.com/edit/node-tikzjax
License: LaTeX Project Public License v1.3c
A port of TikZJax runs on pure Node.js and WebAssembly.
Home Page: https://stackblitz.com/edit/node-tikzjax
License: LaTeX Project Public License v1.3c
Hello,
Thanks for creating this amazing project! This makes using TikZjax much simpler.
I was wandering if the library could be modified in a way that allowed it to run both in node and in browsers. That way it could also work in environments that execute code in both runtimes(in my case SvelteKit).
Looking at the source, it looks like it relies heavily on node built-in modules to generate the wasm file. Could this step be skipped if those file were already present? I think they only need to be compiled once and then shipped to the browser.
Regarding the other imports: jsdom
could be replace by the standard browser DOM, dynamically importing jsdom only if needed. Here is an example of a package that does that.
I think that svgo
could be just omitted in the browser.
Let me know if this duable, and thanks again for your effort in this project!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.