{"id":15184863,"url":"https://github.com/apat183/angularjs-string-humanize","last_synced_at":"2026-02-12T21:31:29.848Z","repository":{"id":58232642,"uuid":"96650912","full_name":"apat183/angularjs-string-humanize","owner":"apat183","description":"AngularJS filter wrapping the 'string-humanize' library","archived":false,"fork":false,"pushed_at":"2017-07-09T01:19:21.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-04T13:33:45.819Z","etag":null,"topics":["angular","angular-filters","angular1","angularjs","filters","humanize","humanizer","javascript"],"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/apat183.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":"2017-07-09T00:05:47.000Z","updated_at":"2017-07-09T01:20:24.000Z","dependencies_parsed_at":"2022-08-30T20:10:46.492Z","dependency_job_id":null,"html_url":"https://github.com/apat183/angularjs-string-humanize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apat183/angularjs-string-humanize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apat183%2Fangularjs-string-humanize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apat183%2Fangularjs-string-humanize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apat183%2Fangularjs-string-humanize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apat183%2Fangularjs-string-humanize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apat183","download_url":"https://codeload.github.com/apat183/angularjs-string-humanize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apat183%2Fangularjs-string-humanize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29381756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"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":["angular","angular-filters","angular1","angularjs","filters","humanize","humanizer","javascript"],"created_at":"2024-09-27T17:41:13.399Z","updated_at":"2026-02-12T21:31:29.832Z","avatar_url":"https://github.com/apat183.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AngularJS String Humanize (angularjs-string-humanize)\n\n## Description\nAngularJS filter wrapping the 'string-humanize' library to handle unknown string format and convert to human readable.\n\n## Usage\n\nApply filter to string in HTML or JS to convert formatted string to human readable.\n\n### In HTML Template Binding\n`{{ someString | stringHumanize}}`\n### In JavaScript\n`$filter('stringHumanize')(someString)`\n### Returns\n\nString in human readable form. The first letter will be capitalized in the word or phrase. \n\n### Examples \nJavascript \n```\n$filter('stringHumanize')('snake_case_string') // 'Snake case string'\n$filter('stringHumanize')('camelCaseString') // 'Camel case string'\n$filter('stringHumanize')('hyphen-case-string-with-ext.html') // 'Hyphen case string with ext'\n$filter('stringHumanize')(undefined) // ''\n```\n\nHTML\n```\n{{ 'hyphen-case-string' | stringHumanize}} // 'Hyphen case string'\n{{ 'lower cased phrase' | stringHumanize}} // 'Lower cased phrase'\n{{ '  remove extra  spaces  ' | stringHumanize}} //'Remove extra spaces'\n{{ null | stringHumanize}} // ''\n```\n\n## Install\n\n### Via bower\n\n```\nbower install --save angularjs-string-humanize\n```\n\nInclude `src/angularjs-string-humanize.js` or `dist/angularjs-string-humanize.min.js` to your project or index file.\n\n```\n\u003cscript src=\"/bower_components/angularjs-string-humanize/dist/angularjs-string-humanize.min.js\"\u003e\u003c/script\u003e\n```\n\nAdd it as a dependency to your angularjs project:\n\n```\nvar app = angular.module(\"myApp\", ['angularStringHumanize']);\n```\n\n\n## Compatibility\n\nFunctionality verified with unit test with angular versions from `v1.6.0`+.\n\n## Credits\n\nAll credits go to [string-humanize](https://github.com/jxson/string-humanize) and [string-capitalize](https://github.com/jxson/string-capitalize). This is just packaged and tested version of their code. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapat183%2Fangularjs-string-humanize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapat183%2Fangularjs-string-humanize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapat183%2Fangularjs-string-humanize/lists"}