[Pas2js] Node.js functionalities

Michael Van Canneyt michael at freepascal.org
Sun Feb 23 20:20:10 CET 2020


Hello,

For some node.js code designed to run on a raspberry pi, I added some units
that enable use of various node.js modules: http, url (net, partially)
onoff, spi-device.

There is a demo that shows how to write a http server using node.

I used the occasion to introduce a uniform naming scheme:

node.module.pas

as such I renamed the existing nodejsfs.pas unit to node.fs.pas, so if you
use that unit, in the next release it will be renamed.


Michael.


More information about the Pas2js mailing list