Skip to content

DEVMOI/moiHelp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moihelp

Helpers Used in DEVMOI Projects

npm i moihelp

# or

yarn add moihelp

Helper:

 // General Helpers
 toCapitalize(str)
 copyToClipboard(str)
 CSVtoJSON(data,delimiter)
 JSONtoCSV(arr,columns,delimiter)
 //Array Helper
 remove(arr,callback)
 // Date Helper
 parseDate(date,seperator)
 // Validators
 isJson(str)
 isEven(int)
 // Local Storage
 setStorage(key,item)
 getStorage(key)
 removeStorage(key)
 clearStorage(key)
 // Cryto Helpers
 hash(str)
 hashNode(val)