2.0.7 • Published 6 years ago
hinos-common v2.0.7
hinos-common
Class helpers for hinos
Install
npm i hinos-common -S
Examples
Encrypt
Class helper help encrypt data
- md5(content:string): return md5 content
- base64(content:string, isDecode:boolean): return base64 en(de)code base on isDecode. Default is encode base64
- decryptText(blowfish: any, content: string): return data which is decrypted by blowfish Algorithm
- encryptText(blowfish: any, data: any): return data which is encrypted by blowfish Algorithm
Http
Make http request easiler
QueueHandler
Customize handler for some connection (mongo...)