AppHelpers
Node Js Backend App Helper Functions. Almost ZERO dependency.
Example
Typescript
import { ucwords } from 'apphelpers';
(async () => {
const str: string = await ucwords('hello world');
console.log(str);
})();
ucwords('hello world').then((str: string) => {
console.log(str);
});
Common Js
const { ucwords } = require('apphelpers');
(async () => {
const str = await ucwords('hello world');
console.log(str);
})();
ucwords('hello world').then((str) => {
console.log(str);
});
List of Functions (all return Promise)
trims
fupper
ucwords
randStr
randNum
validEmail
validNum
validUrl
matchEmail
getBrowser
getOS
isMobile
List of Todos
JSON Minify
Valid Alphabet
Match Phone Number
Is user using Proxy
Notes
- Always Check
Log
before Install or Update. - Contact or create an issue if you found any bug.
- This repository is open for Pull Request.
- It will be helpful, if you can Sponsor.
License under GNU GPL V2