Forum Discussion
rraghvani
Champion Level 3
2 years ago
I have a project called Common, which has various methods in a singleton class called Settings. The module export is defined as module.exports.Settings = Settings;
In another project called Dashboard, I import Common. So that I can access the methods that I need via var settings = Common.Settings.getInstance(); settings.Wait();