{"id":19326331,"url":"https://github.com/thisissoon/angular-ellipsis","last_synced_at":"2025-04-22T20:32:37.617Z","repository":{"id":57166317,"uuid":"59671608","full_name":"thisissoon/angular-ellipsis","owner":"thisissoon","description":"A simple lightweight library for Angular which removes excess text and add ellipsis symbol to end of text before text overflows container","archived":false,"fork":false,"pushed_at":"2019-02-06T16:20:31.000Z","size":648,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T07:03:17.579Z","etag":null,"topics":["angular","directive","ellipsis","multiline-ellipsis","ngx","ngx-ellipsis","ngx-library","ngx-multiline-ellipsis","text-overflow"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thisissoon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-25T14:46:36.000Z","updated_at":"2020-04-15T09:47:12.000Z","dependencies_parsed_at":"2022-08-30T13:10:09.291Z","dependency_job_id":null,"html_url":"https://github.com/thisissoon/angular-ellipsis","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-ellipsis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-ellipsis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-ellipsis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisissoon%2Fangular-ellipsis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisissoon","download_url":"https://codeload.github.com/thisissoon/angular-ellipsis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318951,"owners_count":21411017,"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","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","directive","ellipsis","multiline-ellipsis","ngx","ngx-ellipsis","ngx-library","ngx-multiline-ellipsis","text-overflow"],"created_at":"2024-11-10T02:13:05.928Z","updated_at":"2025-04-22T20:32:37.044Z","avatar_url":"https://github.com/thisissoon.png","language":"TypeScript","readme":"# Angular Ellipsis\n\n[![Build Status][circle-badge]][circle-badge-url]\n[![Coverage Status][coveralls-badge]][coveralls-badge-url]\n[![Commitizen friendly][commitizen-badge]][commitizen]\n[![code style: prettier][prettier-badge]][prettier-badge-url]\n\nA simple lightweight library for [Angular][angular] which removes excess text and add ellipsis symbol to end of text before text overflows container.\n\nThis is a simple library for [Angular][angular], implemented in the [Angular Package Format v5.0](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit#heading=h.k0mh3o8u5hx).\n\n## Install\n\n`npm i @thisissoon/angular-ellipsis --save`\n\n`app.module.ts`\n\n```ts\nimport { EllipsisModule } from '@thisissoon/angular-ellipsis';\n\n@NgModule({\n  imports: [EllipsisModule],\n})\nexport class AppModule {}\n```\n\n## Example\n\n`app.component.html`\n\n```html\n\u003cp class=\"foo\" snEllipsis\u003e\n  ...\n\u003c/p\u003e\n```\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Making Commits\n\nThis repo uses [Commitizen CLI][commitizen] and [Conventional Changelog][conventional-changelog] to create commits and generate changelogs. Instead of running `git commit` run `git cz` and follow the prompts. Changelogs will then be generated when creating new releases by running `npm run release`.\n\n## Making Releases\n\nRun `npm run release` to create a new release. This will use [Standard Version][standard-version] to create a new release. [Standard Version][standard-version] will generate / update the changelog based on commits generated using [Commitizen CLI][commitizen], update the version number following semantic versioning rules and then commit and tag the commit for the release. Simply run `git push --follow-tags origin master`.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n[circle-badge]: https://circleci.com/gh/thisissoon/angular-ellipsis.svg?style=shield\n[circle-badge-url]: https://circleci.com/gh/thisissoon/angular-ellipsis\n[coveralls-badge]: https://coveralls.io/repos/github/thisissoon/angular-ellipsis/badge.svg?branch=master\n[coveralls-badge-url]: https://coveralls.io/github/thisissoon/angular-ellipsis?branch=master\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=shield\n[prettier-badge-url]: https://github.com/prettier/prettier\n[angular]: https://angular.io/\n[commitizen]: http://commitizen.github.io/cz-cli/\n[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\n[conventional-changelog]: https://github.com/conventional-changelog/conventional-changelog\n[standard-version]: https://github.com/conventional-changelog/standard-version\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisissoon%2Fangular-ellipsis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisissoon%2Fangular-ellipsis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisissoon%2Fangular-ellipsis/lists"}