1.0.4 • Published 4 years ago

eden-util v1.0.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
4 years ago

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();