Socket
Book a DemoInstallSign in
Socket

@schedule-tribe/cpf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schedule-tribe/cpf

This package provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@schedule-tribe/cpf

The @schedule-tribe/cpf library provides a class CPF for handling cpf operations in TypeScript. It offers various methods for manipulating cpf, calculating differences, formatting cpf, and checking validity. This library aims to simplify cpf management in Domain-Driven Design contexts.

Installation

Install rich-domain and @schedule-tribe/cpf with your favorite package manager:


npm i rich-domain @schedule-tribe/cpf

# OR

yarn add rich-domain @schedule-tribe/cpf

Usage



import { CPF } from '@schedule-tribe/cpf';

// Check if is valid value
const isValid = CPF.isValid('9843583475');
// false


Keywords

Complexity

FAQs

Package last updated on 05 Jun 2024

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