{"id":43687808,"url":"https://github.com/bthurlow/nativescript-maskedinput","last_synced_at":"2026-02-16T13:01:50.673Z","repository":{"id":57308614,"uuid":"56704394","full_name":"bthurlow/nativescript-maskedinput","owner":"bthurlow","description":"A {N} masked input plugin for iOS and Android","archived":false,"fork":false,"pushed_at":"2016-07-07T19:05:43.000Z","size":1417,"stargazers_count":8,"open_issues_count":13,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-21T21:48:02.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bthurlow.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}},"created_at":"2016-04-20T16:49:20.000Z","updated_at":"2019-09-17T13:31:54.000Z","dependencies_parsed_at":"2022-08-29T02:51:58.602Z","dependency_job_id":null,"html_url":"https://github.com/bthurlow/nativescript-maskedinput","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bthurlow/nativescript-maskedinput","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bthurlow%2Fnativescript-maskedinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bthurlow%2Fnativescript-maskedinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bthurlow%2Fnativescript-maskedinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bthurlow%2Fnativescript-maskedinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bthurlow","download_url":"https://codeload.github.com/bthurlow/nativescript-maskedinput/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bthurlow%2Fnativescript-maskedinput/sbom","scorecard":{"id":256747,"data":{"date":"2025-08-11","repo":{"name":"github.com/bthurlow/nativescript-maskedinput","commit":"2378b3813ff9ab84ebd369a59d1e0ff76ab35e8d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T09:53:18.900Z","repository_id":57308614,"created_at":"2025-08-17T09:53:18.900Z","updated_at":"2025-08-17T09:53:18.900Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29508735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-05T03:00:21.768Z","updated_at":"2026-02-16T13:01:50.667Z","avatar_url":"https://github.com/bthurlow.png","language":"TypeScript","readme":"\u003c!--\n@Author: Brian Thurlow \u003cbthurlow\u003e\n@Date:   04/20/2016 10:42:09 AM\n@Last modified by:   Brian Thurlow\n@Last modified time: 04/20/2016 11:14:11 AM\n--\u003e\n\n# A {N} Masked Input Plugin\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](http://choosealicense.com/licenses/mit/) [![npm](https://img.shields.io/npm/v/nativescript-maskedinput.svg)](https://www.npmjs.com/package/nativescript-maskedinput) [![npm](https://img.shields.io/npm/dt/nativescript-maskedinput.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-maskedinput) [![GitHub release](https://img.shields.io/github/release/bthurlow/nativescript-maskedinput.svg)](https://github.com/bthurlow/nativescript-maskedinput)\n\nThis plugin extends the {N} TextView to allow for input masking.\n\n## Notes\n\niOS 7+\n\nAndroid API 17+\n\nPlugin does not support the use of the keyboardType property from TextView.\n\nPlugin will attempt to determine the mask type and display the appropriate keyboardType automatically.\n\n## Installation\n\nRun `tns plugin add nativescript-maskedinput`\n\n### Usage\n\nTo use MaskedInput you need to include it in your XML.\n\nAdd the following to your page directive.\n```xmlns\nxmlns:mi=\"nativescript-maskedinput\"\n```\n\nUse MaskedInput by adding the following XML.\n```XML\n\u003cmi:MaskedInput mask=\"1-999-999-9999? x999\" hint=\"1-555-555-5555\" placeholder=\"#\" /\u003e\n```\n\n### Properties\n\n#### mask [string]\n\nGet or Set the mask used for input\n\n#### mask options\n\n- 9 is the same as RegEx [0-9]\n- a is the same as RegEx [A-Za-z]\n- \\* is the same as RegEx [A-Za-z0-9]\n- ? specifies that anything after the ? is optional.\n\n###### Supported Seperators\n* -\n* |\n* /\n* \\\n* .\n* $\n* +\n* ( )\n* [  ]\n* { }\n\n#### valid [boolean]\n\nReturns true or false if the input text matches the mask.\n\nUse the ```FormattedText``` property or the ```text``` property to validate the input.\n\n#### placeholder [string]\n\nGets or Sets the placeholder.\n\nDefault: _\n\n#### RawText [string]\n\nGets only the text that matches the RegEx pattern from the mask.\n\nYou cannot validate the RawText property.  It will fail.\n\n#### FormattedText [string]\n\nGets the Full text including any seperators as specified in the mask.\n\n#### regEx [string]\n\nGets the regex that was created from the mask so that you can perform your own validation.\n","funding_links":[],"categories":["Awesome {N} [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Table of Contents"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbthurlow%2Fnativescript-maskedinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbthurlow%2Fnativescript-maskedinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbthurlow%2Fnativescript-maskedinput/lists"}