{"id":20633153,"url":"https://github.com/marcoscostadev/brmasker-ionic","last_synced_at":"2025-07-13T06:37:11.156Z","repository":{"id":143807056,"uuid":"94219429","full_name":"MarcosCostaDev/brmasker-ionic","owner":"MarcosCostaDev","description":"mascara input para ionic","archived":false,"fork":false,"pushed_at":"2017-04-11T13:54:44.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T07:32:37.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarcosCostaDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-13T14:03:25.000Z","updated_at":"2018-08-22T00:33:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ad60a78-19cf-487b-a68e-6c3f9c1faa5b","html_url":"https://github.com/MarcosCostaDev/brmasker-ionic","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosCostaDev%2Fbrmasker-ionic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosCostaDev%2Fbrmasker-ionic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosCostaDev%2Fbrmasker-ionic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcosCostaDev%2Fbrmasker-ionic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcosCostaDev","download_url":"https://codeload.github.com/MarcosCostaDev/brmasker-ionic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242633848,"owners_count":20161230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T14:18:59.664Z","updated_at":"2025-03-09T02:24:36.953Z","avatar_url":"https://github.com/MarcosCostaDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brmasker-ionic\n\n[![GitHub issues](https://img.shields.io/github/issues/amarkes/brmasker-ionic.svg)](https://github.com/amarkes/brmasker-ionic/issues)\n[![GitHub stars](https://img.shields.io/github/stars/amarkes/brmasker-ionic.svg)](https://github.com/amarkes/brmasker-ionic/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/amarkes/brmasker-ionic.svg)](https://github.com/amarkes/brmasker-ionic/network)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/amarkes/brmasker-ionic/master/LICENSE)\n[![Build Status](https://travis-ci.org/amarkes/brmasker-ionic.svg?branch=master)](https://travis-ci.org/amarkes/brmasker-ionic)\n\n\nreturn custom mask in input for ionic 2\n\n# Required\n- node 7.7.3 or up\n- npm 4.1.2 or up\n- ionic 2.2.1\n\n# install\n\n```sh\nnpm install brmasker-ionic --save\n```\n\n### HTML\n\n### correct usage\n\n```html\n\u003cion-item\u003e\n\t\u003cion-input type=\"text\" name=\"cpf\" placeholder=\"CPF\" [brmasker]=\"{mask:'000.000.000-00', len:14}\"\u003e\u003c/ion-input\u003e\n\u003c/ion-item\u003e\n```\n\n### usage in input\n\n```html\n\u003cinput type=\"text\" name=\"cpf\" placeholder=\"CPF\" [brmasker]=\"{mask:'000.000.000-00', len:14}\" value=\"\"\u003e\n```\n\n# Module\n\n```javascript\nimport { AppMaskerModule } from 'brmasker-ionic';\n\n@NgModule({\n  imports: [\n    AppMaskerModule\n  ],\n})\n\n```\n# Characters\n\n`- . / ( ) , * + @ # R$ $ \u0026 %`\n\n# Guide\n\n[brmasker]=\"{mask:'000.000.000-00', len:14}\"\n\n[brmasker] = component receive array (mask, len)\n\nmask --\u003e required / default = '' / custom mask\n\nlen --\u003e required / default = 0 / number of length\n\n### data\n```html\n[brmasker]=\"{mask:'00/00/0000', len:10}\"\n```\n### cep\n```html\n[brmasker]=\"{mask:'00.000-000', len:10}\"\n```\n\n### cpf\n```html\n[brmasker]=\"{mask:'000.000.000-00', len:14}\"\n```\n\n### cnpj\n```html\n[brmasker]=\"{mask:'00.000.000/0000-00', len:18}\"\n```\n\n### telefone\n```html\n[brmasker]=\"{mask:'(00) 0000-0000', len:14}\"\n```\n\n### whatsapp\n```html\n[brmasker]=\"{mask:'(00) 00000-0000', len:15}\"\n```\n\n\n\n# Build for developer\nremove files before build\n```file\ndist/\nsrc/app/app.module.ngfactory.ts\nsrc/app/app.module.ngsummary.json\nsrc/app/index.ngsummary.json\nsrc/app/components/index.ngsummary.json\nsrc/app/components/masker/index.ngsummary.json\nsrc/app/components/masker/masker.component.ngfactory.ts\nsrc/app/components/masker/masker.component.ngsummary.json\nsrc/app/components/masker/masker.module.ngfactory.ts\nsrc/app/components/masker/masker.module.ngsummary.json\n```\n\n```sh\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoscostadev%2Fbrmasker-ionic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoscostadev%2Fbrmasker-ionic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoscostadev%2Fbrmasker-ionic/lists"}