{"id":24054590,"url":"https://github.com/basklein/angular-full-width-to-half-width","last_synced_at":"2026-05-12T13:36:04.997Z","repository":{"id":39763072,"uuid":"267612473","full_name":"basklein/angular-full-width-to-half-width","owner":"basklein","description":"Full-width to half-width character filter for AngularJS","archived":false,"fork":false,"pushed_at":"2022-12-07T19:10:41.000Z","size":270,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T01:30:39.384Z","etag":null,"topics":[],"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/basklein.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":"2020-05-28T14:30:18.000Z","updated_at":"2022-04-30T01:52:33.000Z","dependencies_parsed_at":"2023-01-24T20:31:02.614Z","dependency_job_id":null,"html_url":"https://github.com/basklein/angular-full-width-to-half-width","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basklein/angular-full-width-to-half-width","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basklein%2Fangular-full-width-to-half-width","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basklein%2Fangular-full-width-to-half-width/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basklein%2Fangular-full-width-to-half-width/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basklein%2Fangular-full-width-to-half-width/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basklein","download_url":"https://codeload.github.com/basklein/angular-full-width-to-half-width/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basklein%2Fangular-full-width-to-half-width/sbom","scorecard":{"id":226885,"data":{"date":"2025-08-11","repo":{"name":"github.com/basklein/angular-full-width-to-half-width","commit":"8d6c23648bac7b3591acaa008bffd6a2ebdb0e20"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/1 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":"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":"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":"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":"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":"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":"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":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":"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 18 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"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-2qqx-w9hr-q5gx","Warn: Project is vulnerable to: GHSA-2vrf-hf26-jrp5","Warn: Project is vulnerable to: GHSA-4w4v-5hc9-xrr2","Warn: Project is vulnerable to: GHSA-j58c-ww9w-pwp5","Warn: Project is vulnerable to: GHSA-m2h2-264f-f486","Warn: Project is vulnerable to: GHSA-m9gf-397r-hwpg","Warn: Project is vulnerable to: GHSA-mqm9-c95h-x2p6","Warn: Project is vulnerable to: GHSA-prc3-vjfx-vhm9","Warn: Project is vulnerable to: GHSA-qwqh-hm9m-p5hr","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-rm36-94g8-835r","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T03:58:30.067Z","repository_id":39763072,"created_at":"2025-08-17T03:58:30.067Z","updated_at":"2025-08-17T03:58:30.067Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32941988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2025-01-09T03:48:38.998Z","updated_at":"2026-05-12T13:36:04.969Z","avatar_url":"https://github.com/basklein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/angular-full-width-to-half-width.svg)](https://badge.fury.io/js/angular-full-width-to-half-width)\n[![GitHub issues](https://img.shields.io/github/issues/basklein/angular-full-width-to-half-width.svg?style=flat-square)](https://github.com/basklein/angular-full-width-to-half-width/issues)\n[![GitHub license](https://img.shields.io/github/license/basklein/angular-full-width-to-half-width.svg?style=flat-square)](https://github.com/basklein/angular-full-width-to-half-width/blob/master/LICENSE)\n\n# angular-full-width-to-half-width\nFull-width to half-width character service and filters for AngularJS\n\u003c!-- \n## Demo\n[demo on plnkr](https://plnkr.co/edit/eK0dOA?p=info) --\u003e\n\n## Description\nThis is a service for AngularJS that converts full-width Unicode characters to their half-width counterparts. This service can be used as is, or through the filter `fullWidthToHalfWidth`.\n\nAt the moment the service only converts the characters in the Unicode range 0xFF00 - 0xFF5E. I am planning on adding the ability to convert the rest of the characters in the U+FF00 - U+FFEF block, but this will take time.\n\n## Usage\n\n1. Install via [npm](https://www.npmjs.com/) or downloaded files:\n    1. via npm: `npm install --save angular-full-width-to-half-width`\n    2. via [downloaded files](https://github.com/basklein/angular-full-width-to-half-width/master)\n2. Add `angular-full-width-to-half-width` to your application's module dependencies.\n3. Include dependencies and angular-full-width-to-half-width in your HTML.\n    - When using npm\n    ```html\n    \u003cscript src=\"node_modules/angular-full-width-to-half-width/dist/angular-full-width-to-half-width.min.js\"\u003e\u003c/script\u003e\n    ```\n    - When using downloaded files\n    ```html\n    \u003cscript src=\"YOUR_PATH/angular-full-width-to-half-width.min.js\"\u003e\u003c/script\u003e\n    ```\n4. Use the angular filter `fullWidthToHalfWidth`, or use the angular service `fullWidthToHalfWidthService`.\n\n## Documentation\n\n### Services\n\n#### convertToHalfWidthService\n##### convertToHalfWidth\nConverts the full-width characters in a string to half-width counterparts.\n* `@param {string} value` The string containing characters to convert to half-width.\n* `@return {string}` A string containing half-width characters converted from the original value.\n\n### Filters\n##### fullWidthToHalfWidth\nConverts the full-width characters in a string to half-width counterparts.\n* `@param {string} input` The string containing characters to convert to half-width.\n* `@return {string}` A string containing half-width characters converted from the original value.\n\n## Example\n\nHTML\n```html\n\u003cp\u003e\n  {{\"ｈえｌｌｏ　ｗｏｒｌｄ！\" | fullWidthToHalfWidth }} : ｈえｌｌｏ　ｗｏｒｌｄ！\n\u003c/p\u003e\n\u003cp\u003e\n  {{\"Whａt， is this？\" | fullWidthToHalfWidth}} : Whａt， is this？\n\u003c/p\u003e\n```\n\nResult:\n```html\n\u003cp\u003e\n  hえllo world! : ｈえｌｌｏ　ｗｏｒｌｄ！\n\u003c/p\u003e\n\u003cp\u003e\n  What, is this? : Whａt， is this？\n\u003c/p\u003e\n```\n\nJavascript:\n```javascript\nangular.module('app', ['angular-full-width-to-half-width']);\n\nangular.module('app')\n    .controller('appController', function ($scope, $filter) {\n      $scope.javascriptTest = $filter('fullWidthToHalfWidth')(\"Hello world!\");\n      $scope.javascriptExample = $filter('fullWidthToHalfWidth')(\"ｈえｌｌｏ　ｗｏｒｌｄ！\");\n    });\n```\n\nResult:\n```html\n\u003cp\u003e\n  Hello world! : $scope.javascriptTest Hello world!\n\u003c/p\u003e\n\u003cp\u003e\n  hえllo world! : $scope.javascriptString ｈえｌｌｏ　ｗｏｒｌｄ！\n\u003c/p\u003e\n```\n\n# LICENSE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasklein%2Fangular-full-width-to-half-width","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasklein%2Fangular-full-width-to-half-width","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasklein%2Fangular-full-width-to-half-width/lists"}