litlib
v3.0.0
Published
A little library of server functions
Downloads
5
Readme
litlib
A little library of server utility functions Note: Version 1.3.0 was the last stable release, no changes shall be made aside from bug fixes until version 2. For new developments, please use version >1.3.1-alpha.0
Included utilities:
ldb: Database Wrappers.
- Db - Wrapper over pg-pool module.
cipher: Some crypto functions.
- encrypt
- decrypt
- hashText
- generateSalt
- generateKey
- randomBytes
mailer: Mailing Classes.
- Email - Send emails using nodemailer
lfs: Litlib File Systems
- S3
utils: Some other utility functions:
- manageLogs
- ServerError
- snakeToCamelCase
- camelToSnakeCase
- wrapAsync