Socket
Socket
Sign inDemoInstall

@brazilian-utils/is-valid-cep

Package Overview
Dependencies
1
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brazilian-utils/is-valid-cep

Check if CEP is valid.


Version published
Weekly downloads
1.1K
increased by22.23%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@brazilian-utils/is-valid-cep

Check if CEP is valid

Installation

# Yarn
yarn add @brazilian-utils/is-valid-cep

# npm
npm install @brazilian-utils/is-valid-cep --save

# UMD
<script type='text/javascript' src='https://unpkg.com/@brazilian-utils/is-valid-cep/dist/index.umd.js'></script>

Usage

import isValidCep from '@brazilian-utils/is-valid-cep';

isValidCep('92500000'); // true
isValidCep('92500-000'); // true
isValidCep('8434850001'); // false

Keywords

FAQs

Package last updated on 03 Sep 2018

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc