Yes, I had imported it with const fs = require ('fs');
but I was not creating the function well in the right place. Thank you.
It’s crazy what I want, I know. I want to connect Kalliope (modular always-on voice controlled personal assistant) - https://kalliope-project.github.io with MagicMirror. I find it a very powerful and flexible tool. The program I already manage it well separately and I have created “neurons” and “events” … etc, but it would be wonderful to interact with MagicMirror modules.
Lights, sensors, temperature, webcam, notifications, reading email, music … etc, that I already have it integrated in Kalliope
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
P