JSPM

@schedule-tribe/cpf

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q43409F
  • License MIT

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

Package Exports

  • @schedule-tribe/cpf
  • @schedule-tribe/cpf/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@schedule-tribe/cpf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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