techninja / cncserver

A RESTful API server for driving serial based CNC devices
133 stars 39 forks source link

v3 ES Modules Conversion #121

Closed techninja closed 3 years ago

techninja commented 3 years ago

One thing lead to another and I couldn't keep CNC Server at its incredibly confused roots of passing a variable back and forth with crazy requires. This move is to the official module standard accepted for both browsers and backend systems. Admittedly it's in far better shape on the browser than it is in node, so we've move to node 15, and use node importmaps to cleanly use each set of code and functions as much as I want in the most clean way I've ever seen managed. This will make fixes easier to track down, and everything easier to extend and use as it's the accepted standard, and we can write utils for browser and use them in the backend in directly the same way.