Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apphelpers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apphelpers

Node Js Backend App Helper Functions

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 25 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc