{"id":23301599,"url":"https://github.com/jdforsythe/angular-aba-routing-validation","last_synced_at":"2025-08-22T07:31:39.905Z","repository":{"id":57177961,"uuid":"54817314","full_name":"jdforsythe/angular-aba-routing-validation","owner":"jdforsythe","description":"ABA Routing Number input validation directive for AngularJS 1","archived":false,"fork":false,"pushed_at":"2017-02-09T17:27:34.000Z","size":14,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T18:40:37.882Z","etag":null,"topics":["angular","angular-directives","angular-validation","angularjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jdforsythe.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-03-27T07:22:26.000Z","updated_at":"2022-12-06T16:56:21.000Z","dependencies_parsed_at":"2022-09-14T02:01:09.499Z","dependency_job_id":null,"html_url":"https://github.com/jdforsythe/angular-aba-routing-validation","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jdforsythe/angular-aba-routing-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdforsythe%2Fangular-aba-routing-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdforsythe%2Fangular-aba-routing-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdforsythe%2Fangular-aba-routing-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdforsythe%2Fangular-aba-routing-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdforsythe","download_url":"https://codeload.github.com/jdforsythe/angular-aba-routing-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdforsythe%2Fangular-aba-routing-validation/sbom","scorecard":{"id":512525,"data":{"date":"2025-08-11","repo":{"name":"github.com/jdforsythe/angular-aba-routing-validation","commit":"97c833bda20ac15cfece0de37ab46de8dd15e78e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/11 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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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 6 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-20T00:57:35.758Z","repository_id":57177961,"created_at":"2025-08-20T00:57:35.758Z","updated_at":"2025-08-20T00:57:35.758Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271604728,"owners_count":24788761,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","angular-directives","angular-validation","angularjs"],"created_at":"2024-12-20T10:14:39.348Z","updated_at":"2025-08-22T07:31:34.890Z","avatar_url":"https://github.com/jdforsythe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-aba-routing-validation\n==============================\n\n[![Build Status](https://travis-ci.org/jdforsythe/angular-aba-routing-validation.svg?branch=master)](https://travis-ci.org/jdforsythe/angular-aba-routing-validation)\n\nAn Angular directive for validating a routing number input field.\n\n## Installation\n```bash\n$ bower install angular-aba-routing-validation\n```\n\n## Setup\n\nInclude `angular-aba-routing-validation'` in your module's dependencies:\n\n```js\nangular.module('myApp', ['angular-aba-routing-validation']);\n```\n\n## Usage\n\nSimply add the `routing-number` attribute to your `\u003cinput\u003e` field.\n\nThe directive attaches four properties to the `$error` property of your form field, so they can be used like any of the built-in validation directives (like `ng-minlength`, `ng-pattern`, etc.).\n\n1. `formName.fieldName.$error.abaRouting` - the provided routing number fails validation (invalid length, invalid starting number, or fails algorithm check). Note that this does not set an error if the model is empty (`null` or `\"\"`) so that you can make the input conditionally optional. You'll need to include `required` or `ng-required` to error when the model is empty.\n2. `formName.fieldName.$error.abaRoutingInternal` - the provided routing number indicates a bank's internal routing number (begins with a 5) and is not a valid account routing number\n3. `formName.fieldName.$error.abaRoutingMinLength` - the provided routing number is too short (less than 9 digits)\n4. `formName.fieldName.$error.abaRoutingMaxLength` - the provided routing number is too long (more than 9 digits) - this probably shouldn't happen because `ng-maxlength` is automatically applied, which should restrict the user from being able to type in more than 9 characters, but...\n\nThis directive also includes `x-autocompletetype=\"routing-transit-number\"` for good measure.\n\n### Example with `ng-messages`\n\n```html\n\u003cform name=\"checkInputForm\"\u003e\n  \u003cinput type=\"text\" ng-model=\"vm.routingNumber\" name=\"routingInput\" ng-required=\"true\" routing-number\u003e\n  \u003cdiv ng-messages=\"checkInputForm.routingInput.$dirty \u0026\u0026 checkInputForm.routingInput.$invalid\"\u003e\n\t\t\u003cdiv ng-message=\"required\"\u003eRouting number is required\u003c/div\u003e\n\t\t\u003cdiv ng-message=\"abaRoutingMinLength\"\u003eRouting number must be exactly 9 digits\u003c/div\u003e\n    \u003cdiv ng-message=\"abaRoutingInternal\"\u003eYou have provided an internal bank routing number\u003c/div\u003e\n    \u003cdiv ng-message=\"abaRouting\"\u003eRouting number is invalid\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/form\u003e\n```\n\n### Without `ng-messages`\n\n```html\n\u003cform name=\"checkInputForm\"\u003e\n  \u003cinput type=\"text\" ng-model=\"vm.routingNumber\" name=\"routingInput\" ng-required=\"true\" routing-number\u003e\n  \u003cdiv ng-if=\"checkInputForm.routingInput.$dirty \u0026\u0026 checkInputForm.routingInput.$invalid\"\u003e\n\t\t\u003cdiv ng-if=\"checkInputForm.routingInput.$error.required\"\u003eRouting number is required\u003c/div\u003e\n\t\t\u003cdiv ng-if=\"checkInputForm.routingInput.$error.abaRoutingMinLength\"\u003eRouting number must be exactly 9 digits\u003c/div\u003e\n    \u003cdiv ng-if=\"checkInputForm.routingInput.$error.abaRoutingInternal\"\u003eYou have provided an internal bank routing number\u003c/div\u003e\n    \u003cdiv ng-if=\"checkInputForm.routingInput.$error.abaRouting\"\u003eRouting number is invalid\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/form\u003e\n```\n\n### Optional\n\n```html\n\u003cform name=\"paymentInputForm\"\u003e\n  \u003cdiv\u003e\n    \u003cinput type=\"radio\" ng-model=\"vm.paymentType\" name=\"paymentType\" ng-required=\"true\" value=\"credit\"\u003eCredit\u003cbr\u003e\n    \u003cinput type=\"radio\" ng-model=\"vm.paymentType\" name=\"paymentType\" ng-required=\"true\" value=\"check\"\u003eCheck\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    \u003cinput type=\"text\" ng-model=\"vm.routingNumber\" name=\"routingInput\" ng-required=\"vm.paymentType == 'check'\" routing-number\u003e\n    \u003cdiv ng-if=\"checkInputForm.routingInput.$dirty \u0026\u0026 checkInputForm.routingInput.$invalid\"\u003e\n      \u003cdiv ng-if=\"checkInputForm.routingInput.$error.required\"\u003eRouting number is required when choosing check\u003c/div\u003e\n      \u003cdiv ng-if=\"checkInputForm.routingInput.$error.abaRouting\"\u003eRouting number is invalid\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/form\u003e\n```\n\n## Tests\n\nA round of tests is included. To run the tests, execute:\n\n```\nkarma start karma.conf.js\n```\n\n## Contributions\n\nContributions are always welcome. Please submit issues and pull requests.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdforsythe%2Fangular-aba-routing-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdforsythe%2Fangular-aba-routing-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdforsythe%2Fangular-aba-routing-validation/lists"}