Giter Site home page Giter Site logo

brazilian-federaldocuments's Introduction

Brazilian::FederalDocuments

Build Status GitPitch

Warning

This module was created for a presentation in the Guru-SP group:

https://www.youtube.com/watch?v=Kgy7Qa7LgGs

Synopsis

use Brazilian::FederalDocuments;

if FederalDocuments::CPF(number => 6931987887).is-valid {
    say "Valid CPF!!!"
} else {
    say "Invalid CPF..."
}

if FederalDocuments::CNPJ(number => 394411000109).is-valid {
    say "Valid CNPF!!!"
} else {
    say "Invalid CNPF..."
}

Description

In Brazil, there are two numbers of documents used especially for financial transactions. For individuals, the CPF (Individual Persons Registry), and for companies, the CNPJ (National Registry of Legal Entities).

This module verifies that the numbers are valid.

COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the terms of the MIT License.

brazilian-federaldocuments's People

Contributors

paulohrpinheiro avatar

Stargazers

 avatar  avatar

Watchers

 avatar

brazilian-federaldocuments's Issues

Will no longer be updated to the Raku ecosystem

Hello,

Thank you for the time and effort you have put in what is now the Raku Programming Language. The language and its ecosystem are moving forward.

This means that this distribution will no longer be checked for updates by the Raku ecosystem.

This means that you will need to move your module to the zef ecosystem on the next update you make to these distributions. Otherwise your update will simply not be seen by the ecosystem.

If you are no longer interested in maintaining this distribution, you can have this distribution moved to Raku Community Modules Adoption Center, where members of the Raku Community will take care of them.

This can be as easy as confirming that in a response to this issue.

Again, thank you for your time and efforts!

On behalf of the Raku Steering Council,

Elizabeth Mattijsen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.