{"id":17069527,"url":"https://github.com/mgalgs/jquery-yallipsis","last_synced_at":"2026-04-19T04:32:54.416Z","repository":{"id":1334513,"uuid":"1280316","full_name":"mgalgs/jquery-yallipsis","owner":"mgalgs","description":"Yet Another Ellipsis Plugin for jQuery","archived":false,"fork":false,"pushed_at":"2011-01-22T01:04:58.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-29T21:47:51.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/mgalgs.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":"2011-01-21T22:52:21.000Z","updated_at":"2014-01-18T17:45:19.000Z","dependencies_parsed_at":"2022-07-29T08:09:51.567Z","dependency_job_id":null,"html_url":"https://github.com/mgalgs/jquery-yallipsis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mgalgs/jquery-yallipsis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2Fjquery-yallipsis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2Fjquery-yallipsis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2Fjquery-yallipsis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2Fjquery-yallipsis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgalgs","download_url":"https://codeload.github.com/mgalgs/jquery-yallipsis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2Fjquery-yallipsis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31994992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":[],"created_at":"2024-10-14T11:27:06.134Z","updated_at":"2026-04-19T04:32:54.400Z","avatar_url":"https://github.com/mgalgs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"What is Yallipsis?\n==================\nYallipsis is **Yet Another Ellipsis Plugin** for jQuery. It is tiny and very simple to use. It turns text like this:\n\u003e Hi I love stuff and stuff and I really love to eat pizza and stuff yes.\n\ninto this:\n\u003e Hi I love stuff and\u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003e\n\nor this:\n\u003e \u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003eand stuff yes.\n\nor this:\n\u003e Hi I lov\u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003estuff yes.\n\nor this:\n\u003e \u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003eI really love\u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003e\n\nUsage\n=====\nFirst, include `jquery.yallipsis.js` in your html document:\n    \u003cscript type=\"text/javascript\" src=\"/js/jquery.yallipsis.js\"\u003e\u003c/script\u003e\n\nBasic Usage\n-----------\n    $(function() {\n        $(\".short\").yallipsis();\n    });\n\nOptions\n-------\n\u003cdl\u003e\n  \u003cdt\u003emaxChars\u003c/dt\u003e\n  \u003cdd\u003eThe maximum number of characters to allow before we ellipsify. Default: \u003ccode\u003e50\u003c/code\u003e\u003c/dd\u003e\n  \u003cdt\u003ereplaceText\u003c/dt\u003e\n  \u003cdd\u003eText to insert to indicate ellipsification. Default: \u003ccode\u003e'\u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003e'\u003c/code\u003e\u003c/dd\u003e\n  \u003cdt\u003ewhere\u003c/dt\u003e\n  \u003cdd\u003eWhere to truncate. Possible values: \u003ccode\u003e'front'\u003c/code\u003e, \u003ccode\u003e'back'\u003c/code\u003e, \u003ccode\u003e'sides'\u003c/code\u003e, \u003ccode\u003e'middle'\u003c/code\u003e. Default: \u003ccode\u003e'back'\u003c/code\u003e\u003c/dd\u003e\n\u003c/dl\u003e\n\n##### Examples #####\nIf we had a div in our document like so:\n\n    \u003cdiv id=\"long-stuff\"\u003e\n      This is my really long sentence.\n    \u003c/div\u003e\n\nThen this:\n    $(function() {\n        $(\".short\").yallipsis({maxChars:7, replaceText:'\u003cu\u003e***\u003c/u\u003e'});\n    });\n\nwould result in this:\n    \u003cdiv id=\"long-stuff\" title=\"This is my really long sentence.\"\u003e\n      This is\u003cu\u003e***\u003c/u\u003e\n    \u003c/div\u003e\n\nand this:\n    $(function() {\n        $(\".short\").yallipsis({maxChars:10, where: 'sides'});\n    });\n\nwould result in this:\n    \u003cdiv id=\"long-stuff\" title=\"This is my really long sentence.\"\u003e\n      \u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003ereally long\u003cb\u003e\u003cu\u003e...\u003c/u\u003e\u003c/b\u003e\n    \u003c/div\u003e\n\n\nTips\n----\nIf the `title` attribute of the element being ellipsified is empty,\nthe original text will get put there. So, you can combine yallipsis\nwith [tipTip] [1] (or any other jQuery quicktip plugin):\n    $(function() {\n        $(\".short\").yallipsis({maxChars:25}).tipTip({maxWidth:'auto'});\n    });\n\n\n[1]: http://code.drewwilson.com/entry/tiptip-jquery-plugin \"tipTip jQuery Plugin\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgalgs%2Fjquery-yallipsis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgalgs%2Fjquery-yallipsis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgalgs%2Fjquery-yallipsis/lists"}