Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2020-02

Node.js functionalities

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

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.

Reply by email