2.1.0 • Published 3 years ago

apphelpers v2.1.0

Weekly downloads
112
License
GNU GPL V2
Repository
github
Last release
3 years ago

AppHelpers

Node Js Backend App Helper Functions. Almost ZERO dependency.

Example

Typescript

import { ucwords } from 'apphelpers';
// Async Await
(async () => {
  const str: string = await ucwords('hello world');
  console.log(str);
})();
// Callback
ucwords('hello world').then((str: string) => {
  console.log(str);
});
// return Hello World

Common Js

const { ucwords } = require('apphelpers');
// Async Await
(async () => {
  const str = await ucwords('hello world');
  console.log(str);
})();
// Callback
ucwords('hello world').then((str) => {
  console.log(str);
});
// return Hello World

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

2.1.0

3 years ago

2.0.0

3 years ago

1.0.1

5 years ago

1.0.0

5 years ago