{"id":21761774,"url":"https://github.com/ionited/mask-vue","last_synced_at":"2025-04-13T13:25:14.698Z","repository":{"id":43230641,"uuid":"356422472","full_name":"ionited/mask-vue","owner":"ionited","description":"Create your masks for Vue easily","archived":false,"fork":false,"pushed_at":"2025-02-18T15:36:02.000Z","size":517,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-27T04:23:01.449Z","etag":null,"topics":["core","ionic","ionicvue","mask","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"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/ionited.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"gabrielcursino","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"polar":null,"custom":null}},"created_at":"2021-04-09T23:34:29.000Z","updated_at":"2025-03-19T12:48:28.000Z","dependencies_parsed_at":"2022-09-07T09:22:05.139Z","dependency_job_id":"8f8c5232-7bbe-44b9-8833-eabbd52ad0d3","html_url":"https://github.com/ionited/mask-vue","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"708a9dfa3eae4811025f7199ac5777772fdedfdd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionited%2Fmask-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionited%2Fmask-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionited%2Fmask-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionited%2Fmask-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionited","download_url":"https://codeload.github.com/ionited/mask-vue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248719258,"owners_count":21150723,"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":["core","ionic","ionicvue","mask","vue"],"created_at":"2024-11-26T12:09:44.010Z","updated_at":"2025-04-13T13:25:14.653Z","avatar_url":"https://github.com/ionited.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gabrielcursino"],"categories":[],"sub_categories":[],"readme":"# Mask-vue\n\n\u003e Create your masks for Vue easily\n\nVue wrapper for [@ionited/mask](https://github.com/ionited/mask). Compatible with Vue 3 and Ionic Vue\n\n## Quick start\n\nChoose your favorite option below:\n\n### Install with NPM\n\n```\nnpm i @ionited/mask-vue\n```\n\n### Get from UNPKG\n\n[https://unpkg.com/@ionited/mask-vue@latest/dist/index.js](https://unpkg.com/@ionited/mask-vue@latest/dist/indext.js)\n\n---\n\n## Usage\n\nTo basic usage you can simply call:\n\n```html\n\u003ctemplate\u003e\n  \u003cinput v-mask=\"{ mask: '99 / 9999' }\"\u003e\n\u003c/template\u003e\n```\n\nLocal import:\n\n```ts\nimport { mask } from '@ionited/mask-vue';\n\nexport default {\n  ...\n  directives: { mask },\n  ...\n}\n```\n\nor global import:\n\n```ts\nimport { mask } from '@ionited/mask-vue';\n\nconst app = createApp(App)\n.directive('mask', mask);\n```\n\n### Register your own masks\n\nYou can create your own mask logic easily, you only need `register` a mask and use:\n\n```ts\nregister(name: string, mask: any): void;\n```\n\nSee more [@ionited/mask](https://github.com/ionited/mask) \n\n## License\n\nCopyright (c) 2021 Ion. Licensed under [MIT License](LICENSE).\n\n[https://ionited.io](https://ionited.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionited%2Fmask-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionited%2Fmask-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionited%2Fmask-vue/lists"}