A native node addon that lets you authenticate with LightDM without the need for node-gtk
npm install lightdm-jslightdm-js is a node native addon that lets you communicate with the LightDM daemon on your system without using node-gtk.
It does so using node-addon-api to circumvent the need for GIR. A downside to this approach is that it may be prone to breaking.
The code right now is barely tested, so for anyone reading this, be careful if you decide to use it in a LightDM greeter implementation.
lightdm.h and glib.h.
sudo pacman -S lightdm glib2
``