{"id":15801572,"url":"https://github.com/garrettmac/angular-slugs","last_synced_at":"2026-02-12T20:05:03.117Z","repository":{"id":57179116,"uuid":"53227018","full_name":"garrettmac/angular-slugs","owner":"garrettmac","description":"A tool to help manage and convert text into slugs and converting slugs into text through a service, filter, and a directive.","archived":false,"fork":false,"pushed_at":"2016-03-05T23:41:31.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-26T16:46:12.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garrettmac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-05T22:48:07.000Z","updated_at":"2018-03-19T08:15:21.000Z","dependencies_parsed_at":"2022-09-09T19:01:23.818Z","dependency_job_id":null,"html_url":"https://github.com/garrettmac/angular-slugs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garrettmac/angular-slugs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettmac%2Fangular-slugs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettmac%2Fangular-slugs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettmac%2Fangular-slugs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettmac%2Fangular-slugs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garrettmac","download_url":"https://codeload.github.com/garrettmac/angular-slugs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettmac%2Fangular-slugs/sbom","scorecard":{"id":419102,"data":{"date":"2025-08-11","repo":{"name":"github.com/garrettmac/angular-slugs","commit":"584e8ede0633ea318674805e4533ff639041ad19"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"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":"Code-Review","score":0,"reason":"Found 0/3 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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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"}}]},"last_synced_at":"2025-08-19T00:43:05.435Z","repository_id":57179116,"created_at":"2025-08-19T00:43:05.436Z","updated_at":"2025-08-19T00:43:05.436Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29379736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"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":"2024-10-05T01:23:12.837Z","updated_at":"2026-02-12T20:05:03.103Z","avatar_url":"https://github.com/garrettmac.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-slug\n\n[Inspired by paulsmith's angular-slugify](https://github.com/paulsmith/angular-slugify) angular-slugs converts converts text into slugs or slugs into text with desired capitalization through a service and filter.\n\n\n## Installation\n\nYou can install the filter using [Bower](http://bower.io/):\n\n```bash\n$ bower install angular-slugs\n```\n\nOr [npm](https://www.npmjs.com/):\n\n```bash\n$ npm install angular-slugs\n```\n\nThen you have to include it in your HTML:\n\n```html\n\u003cscript src=\"bower_components/angular-slugs/angular-slug.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"bower_components/angular-slugs/angular-unslug.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"bower_components/angular-slugs/angular-capitalize.js\"\u003e\u003c/script\u003e\n```\n\nAnd inject the desired modules into your application:\n\n```js\nangular.module('webApp', ['capitalizer','slugifier','unslugifier']);\n```\n\n\n## Service\n\nThe `Slug` service provides a single function `slug` that takes a string\ninput as argument and returns the slugified string.\n\n```js\nfunction MyCtrl($scope, Slug) {\n    $scope.slug = function(input) {\n        $scope.mySlug = Slug.slug(input);\n    };\n}\n```\nor\n\n```js\nfunction MyCtrl($scope, Unslug) {\n    $scope.unslug = function(input) {\n        $scope.myUnslug = Unslug.slug(input);\n    };\n}\n```\n\n### Filter\n\nTo use add a `slug` or `unslug` pipe filter in your AngularJS curly-brace\nexpression.\n\nFilters `hello world` to `hello-world`\n\n```html\n\u003cp\u003eSlug: {{msg | slug}}\u003c/p\u003e\n```\nFilters `hello-world` to `hello world`\n\n```html\n\u003cp\u003eUnslug: {{msg | unslug}}\u003c/p\u003e\n```\n\nFilters `hello world` to `Hello world`\n\n```html\n\u003cp\u003eUnslug: {{msg | unslug| capitalize}}\u003c/p\u003e\n```\n\nFilters `hello world` to `Hello World`\n\n```html\n\u003cp\u003eUnslug: {{msg | unslug| capitalize:true}}\u003c/p\u003e\n```\n\n\n\n## Capitalize\n\nYou can use it like any other AngularJS filter:\n\nFirst word only:\n\n```html\n\u003cp\u003e{{msg | capitalize}}\u003c/p\u003e\n```\n\nFirst Letter In All Words:\n\n```html\n\u003cp\u003e{{msg | capitalize:true}}\u003c/p\u003e\n```\n\n## License\n\nCopyright © 2016 Garrett M. \u003cteam@cera.io\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n# angular-slugs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarrettmac%2Fangular-slugs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarrettmac%2Fangular-slugs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarrettmac%2Fangular-slugs/lists"}