{"repo":"mariohmol/ng-brazil","free":true,"listed":false,"github":"https://github.com/mariohmol/ng-brazil","clone":"git clone https://github.com/mariohmol/ng-brazil.git","description":"Commons and utils in angular for brazillian apps ( pipes / validators / directives / masks )","language":"TypeScript","stars":116,"topics":["brazil","angular","mask","pipe","validators","directives","cpf","cnpj","telefone","rg"],"license":"MIT","category":"ui-components","readme_excerpt":"Ng-Brazil Contains pipes / directives / validators / masks for Brazilian Angular apps. Angular compatibility ng-brazil Angular ----------- --------- 4.x 15 – 19 3.x 13 – 14 Live demo https://test.counbo.com/ng-brazil/ Modules CPF CNPJ RG Inscrição Estadual Telefone e Celular CEP Currency (Dinheiro) Time (horas e minutos) Number (número e ponto decimal) Placa de Carro Renavam Título de Eleitor PIS/PASEP Processo Jurídico Installation Usage Import the module Note: TextMaskModule is bundled inside ng-brazil . You no longer need to install angular2-text-mask separately. Validators (Reactive Forms) Masked inputs (template) Pipes Using pipes in TypeScript Troubleshooting js-brasil fails to compile / CommonJS warning in Angular 11+ Angular 11 introduced stricter handling of CommonJS dependencies. Because js-brasil ships a CommonJS build, Angular may print a warning or fail with an error like: Fix: add js-brasil to allowedCommonJsDependencies in your project's angular.json : See the Angular CommonJS dependencies guide for more details. --- Collaborate To publish a new release, update the version in package.json and ng-brazil/package.json , then run npm run publishnpm . References https://github.com/mariohmol/js-brasil https://github.com/text-mask/text-mask License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/mariohmol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mariohmol/ng-brazil/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}