eden-util
v1.0.4
Published
Utility functions for Nodejs
Downloads
3
Maintainers
Readme
Eden-Util
Description
This module has some of my own utility funcs. It was created because of my own needs, such as, formatting DATE obj for yyyy/mm/dd HH:MM:SS string, reading a JSON FILE and retorning the conversation from it to JS OBJ and testing MSSQLConn that retorns true Success or String, the error message.
List of functions:
- readJSON(fs, staticPath, _path)
- getFormattedDate(dateObj)
- testMSSQLConn(sql, stringCon)
The method readJSON and testMSSQLConn run synchronously (blocking)!
main();