Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

amp-utils-web

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amp-utils-web

My package of useful functions for web applications on a daily basis

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

amp-utils-web

My package of useful functions for web applications on a daily basis

List of useful functions

  • ListEstados
  • formatCep
  • isMobile
  • formatCnpjCpf
  • removeFormatCnpjCpf
  • readCookie
  • setCookie
  • deleteCookie
  • validateCpf
  • validateCnpj
  • validateCnpjCpf

How to use

Example:

  const { formatCep, formatCnpjCpf } = require('amp-utils-web');

  console.log(formatCep(00000000));
  console.log(formatCnpjCpf('10238580024'));

In your project always keep updated by typing npm update

FAQs

Package last updated on 07 Jun 2020

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