{"id":15376494,"url":"https://github.com/tomayac/js-input-masking-polyfill","last_synced_at":"2025-04-15T16:34:38.905Z","repository":{"id":49041614,"uuid":"381696513","full_name":"tomayac/js-input-masking-polyfill","owner":"tomayac","description":"Polyfill for the Intl.InputMask proposal.","archived":false,"fork":false,"pushed_at":"2021-09-09T15:25:15.000Z","size":159,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T22:23:00.621Z","etag":null,"topics":["input-mask","input-masking","inputmask","intl","intl-inputmask"],"latest_commit_sha":null,"homepage":"https://tomayac.github.io/js-input-masking-polyfill/demo/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomayac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-30T12:35:16.000Z","updated_at":"2023-12-20T09:45:30.000Z","dependencies_parsed_at":"2022-09-08T21:11:28.976Z","dependency_job_id":null,"html_url":"https://github.com/tomayac/js-input-masking-polyfill","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomayac%2Fjs-input-masking-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomayac%2Fjs-input-masking-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomayac%2Fjs-input-masking-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomayac%2Fjs-input-masking-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomayac","download_url":"https://codeload.github.com/tomayac/js-input-masking-polyfill/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249108946,"owners_count":21214089,"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":["input-mask","input-masking","inputmask","intl","intl-inputmask"],"created_at":"2024-10-01T14:07:51.894Z","updated_at":"2025-04-15T16:34:38.886Z","avatar_url":"https://github.com/tomayac.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-input-masking-polyfill\n\nA work-in-progress polyfill for the\n[`Intl.InputMask`](https://github.com/tomayac/js-input-masking) 🎭 proposal.\n\n**Do not use this in production, there are still many flaws.**\n\n## Status\n\nUnstable. Submitted as an [idea](https://es.discourse.group/t/input-masking/835)\nto TC39.\n\n## Installation\n\n```bash\nnpm install --save js-input-masking-polyfill\n```\n\n## Usage\n\n```js\nimport 'js-input-masking-polyfill';\n\nnew Intl.InputMask('credit-card-number').format('4012888888881881');\n// \"4012 8888 8888 1881\"\n\n// 15 digits.\nnew Intl.InputMask('credit-card-number').format('378282246310005');\n// \"3782 822463 10005\"\n```\n\n## Demo\n\nYou can see `Intl.InputMask` in action in the\n[demo](https://tomayac.github.io/js-input-masking-polyfill/demo/).\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomayac%2Fjs-input-masking-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomayac%2Fjs-input-masking-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomayac%2Fjs-input-masking-polyfill/lists"}