{"id":18382918,"url":"https://github.com/skyehoefling/monkeymask","last_synced_at":"2026-05-12T07:40:39.401Z","repository":{"id":65603835,"uuid":"118297725","full_name":"SkyeHoefling/MonkeyMask","owner":"SkyeHoefling","description":"A simple net standard library to mask strings that are entered in a text input","archived":false,"fork":false,"pushed_at":"2020-08-24T17:23:56.000Z","size":23,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T05:42:19.599Z","etag":null,"topics":["maskedinput","netstandard","string-manipulation","uwp","wpf","xamarin"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/SkyeHoefling.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":["ahoefling"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-01-21T02:23:41.000Z","updated_at":"2022-10-29T07:59:42.000Z","dependencies_parsed_at":"2023-01-31T11:05:12.672Z","dependency_job_id":null,"html_url":"https://github.com/SkyeHoefling/MonkeyMask","commit_stats":null,"previous_names":["ahoefling/monkeymask"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyeHoefling%2FMonkeyMask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyeHoefling%2FMonkeyMask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyeHoefling%2FMonkeyMask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyeHoefling%2FMonkeyMask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkyeHoefling","download_url":"https://codeload.github.com/SkyeHoefling/MonkeyMask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248482069,"owners_count":21111275,"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":["maskedinput","netstandard","string-manipulation","uwp","wpf","xamarin"],"created_at":"2024-11-06T01:09:09.845Z","updated_at":"2025-12-29T14:24:06.709Z","avatar_url":"https://github.com/SkyeHoefling.png","language":"C#","funding_links":["https://github.com/sponsors/ahoefling"],"categories":[],"sub_categories":[],"readme":"# MonkeyMask for NetStandard\nMonkey Mask is a simple masking API designed for Xamarin.Forms, UWP, WPF and any platform that supports NetStandard.\n\n## Built for User Entry\nMonkey Mask was designed for masking strings as they are entered in an Entry field.\n\nSuppose you have an Entry Field where you would like to support formatting a phone number (123-456-7890). The library is intended to call it's `MonkeyEntry.Mask()` method with each keystroke so the value appears formatted as they continue to type.\n\n| Final Input    | Format         |\n|----------------|----------------|\n| `123-456-7890` | `###-###-####` |\n\n 1. Input: `1`\n 2. Input: `12`\n 3. Input: `123-`\n 4. Input: `123-4`\n 5. Input: `123-45`\n 6. Input: `123-456-`\n 7. Input: `123-456-7`\n 8. Input: `123-456-78`\n 9. Input: `123-456-789`\n 10. Input: `123-456-7890`\n\n### Limitations\nCurrently MonkeyMask only supports masking digits, we will support alpha numerics in the next release\n\n## Setup \n\n* Available on NuGet: [![NuGet](https://img.shields.io/nuget/v/MonkeyMask.svg?label=NuGet)](https://www.nuget.org/packages/MonkeyMask)\n* Install into your NetStandard supported project\n\n## Build\n\n* [![Build status](https://ci.appveyor.com/api/projects/status/d5ug030xxvhiss1x?svg=true)](https://ci.appveyor.com/project/ahoefling/monkeymask)\n* CI NuGet Feed: [https://ci.appveyor.com/nuget/monkeymask](https://ci.appveyor.com/nuget/monkeymask)\n    \n### Platform Support\nTabStrip is available for use in *Xamarin.Forms* only targetting the following supported platforms.\n\n| Platform         | Supported | Version          |\n|------------------|-----------|------------------|\n| Xamarin.Android  | Yes       | NetStandard1.0   |\n| Xamarin.iOS      | Yes       | NetStandard1.0   |\n| Xamarin 10 UWP   | Yes       | NetStandard1.0   |\n| WPF              | Yes       | NetStandard1.0   |\n| UWP              | Yes       | NetStandard1.0   |\n\n\n## Usage ##\n\n#### Static Method ####\n```c#\n// partial mask\nvar input = \"123-4\";\nvar format = \"###-####\";\nMonkeyEntry.Mask(input, format);\n\n// full mask\nvar input = \"123-4567\";\nvar format = \"###-####\";\nMonkeyEntry.Mask(input, format);\n\n// full mask and limit a max length\nvar input = \"123-4567\";\nvar format = \"###-####\";\nMonkeyEntry.Mask(input, format, 7);\n```\n\n#### Extension Method ####\n```c#\n// partial mask\nvar input = \"123-4\";\nvar format = \"###-####\";\ninput.Mask(input, format);\n\n// full mask\nvar input = \"123-4567\";\nvar format = \"###-####\";\ninput.Mask(input, format);\n\n// full mask and limit a max length\nvar input = \"123-4567\";\nvar format = \"###-####\";\ninput.Mask(input, format, 7);\n```\n\n## Created By: [@Andrew_Hoefling](https://twitter.com/andrew_hoefling)\n\n* Twitter: [@Andrew_Hoefling](https://twitter.com/andrew_hoefling)\n* Blog: [andrewhoefling.com](http://www.andrewhoefling.com)\n\n### License\n\nThe MIT License (MIT) see License File","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyehoefling%2Fmonkeymask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyehoefling%2Fmonkeymask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyehoefling%2Fmonkeymask/lists"}