{"id":32453313,"url":"https://github.com/albejr/ngx-timeline","last_synced_at":"2025-10-26T07:42:55.251Z","repository":{"id":39562642,"uuid":"158581112","full_name":"Albejr/ngx-timeline","owner":"Albejr","description":"Component for rendering timelines from the your data.","archived":false,"fork":false,"pushed_at":"2024-06-01T11:50:01.000Z","size":1973,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-17T03:57:06.897Z","etag":null,"topics":["angular","component","json","timeline"],"latest_commit_sha":null,"homepage":"https://stackblitz.com/edit/ngx-timeline-albe","language":"SCSS","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/Albejr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-21T17:03:41.000Z","updated_at":"2025-09-25T08:29:18.000Z","dependencies_parsed_at":"2024-06-21T15:34:44.398Z","dependency_job_id":"493f380b-96ee-4a1d-8041-c22086eaa51f","html_url":"https://github.com/Albejr/ngx-timeline","commit_stats":{"total_commits":75,"total_committers":4,"mean_commits":18.75,"dds":0.3466666666666667,"last_synced_commit":"fbd46faeb68838aeddaa4d22afc5f2d1d6702c97"},"previous_names":["albejr/ngx-albe-timeline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Albejr/ngx-timeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albejr%2Fngx-timeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albejr%2Fngx-timeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albejr%2Fngx-timeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albejr%2Fngx-timeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albejr","download_url":"https://codeload.github.com/Albejr/ngx-timeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albejr%2Fngx-timeline/sbom","scorecard":{"id":10356,"data":{"date":"2025-08-11","repo":{"name":"github.com/Albejr/ngx-timeline","commit":"fbd46faeb68838aeddaa4d22afc5f2d1d6702c97"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"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":"Code-Review","score":0,"reason":"Found 0/10 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/Albejr/ngx-timeline/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/Albejr/ngx-timeline/npm-publish.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 20 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":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-3g92-w8c5-73pq","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-14T14:25:24.719Z","repository_id":39562642,"created_at":"2025-08-14T14:25:24.720Z","updated_at":"2025-08-14T14:25:24.720Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281074238,"owners_count":26439421,"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","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"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":["angular","component","json","timeline"],"created_at":"2025-10-26T07:42:15.183Z","updated_at":"2025-10-26T07:42:55.239Z","avatar_url":"https://github.com/Albejr.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ci\u003eAlbe Timeline \u003csup\u003e1.7.0\u003c/sup\u003e\u003c/i\u003e\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003ci\u003eAlbe Timeline is a simple yet highly customizable component that helps you render a responsive horizontal (or vertical) timeline from JSON data. The data will be automatically grouped by year and the events will be sorted by date.\u003c/i\u003e\u003c/p\u003e\n\n- Content HTML highly manipulable.\n- Styles for the template are easily customizable.\n- Simplifies the aspects of internationalization, displaying dates and alternatives texts in a local format.\n\nVersion history:\n| Library | Angular |\n| ------- | ------- |\n| Lastet | 18.0.1 |\n| 1.6.0 | 17.3.0 |\n| 1.5.0 | 16.0.0 |\n| 1.4.1 | 15.2.6 |\n| 1.3.0 | 14.2.0 |\n| 1.2.11 | 11.2.4 |\n| 1.2.0 | 10.1.2 |\n| 1.1.0 | 8.0.0 |\n\n## Use license\nThe component is open source and released for free commercial use at no cost. Donations are welcome.\n\n## Installation\n```html\n$ npm install ngx-timeline-albe\n```\n\n## How to use\n### Import the module\n```typescript\nimport { NgxTimelineAlbeModule } from 'ngx-timeline-albe';\n\n@NgModule({\n    imports: [ NgxTimelineAlbeModule ],\n    ...\n})\nexport class AppModule {}\n```\n\n### Template\n```html\n\u003cngx-timeline [itens]=\"data\"\u003e\u003c/ngx-timeline\u003e\n```\n\n* Instance with options:\n```html\n\u003cngx-timeline [itens]=\"data\" \n    [formatDate]=\"'dd MMMM'\" \n    [sortDesc]=\"true\"\n    [showMenu]=\"true\" \n    [showGroup]=\"true\" \n    [theme]=\"'basic'\"\u003e\n\u003c/ngx-timeline\u003e\n```\n\n### Component\n```typescript\nimport { TimelineItem } from 'ngx-timeline-albe';\n```\n```typescript\n  //The Json object is also accepted in string format.\n  data: Array\u003cTimelineItem\u003e | String;\n```\n```typescript\nngOnInit() {\n\n    //Object type\n    this.data = [\n      {\n        datetime: new Date('2020-03-29 23:59:59'),\n        header: 'Sample of header',\n        body: [\n          {\n            tag: 'h1',\n            content: \"Lorem ipsum\"\n          },\n          {\n            tag: 'p',\n            content: 'Lorem ipsum dolor sit amet, nisl lorem, wisi egestas orci tempus class massa.'\n          }],\n        footer: 'Sample of footer. See \u003ca href=\\\"https://github.com/Albejr/ngx-timeline\\\" target=\\\"_blank\\\"\u003emore details\u003c/a\u003e'\n      }\n    ];\n\n    //OR Json format\n    this.data = `[{\n      \"datetime\": \"2020-03-29 23:59:59\",\n      \"header\": \"Sample of header\",\n      \"body\": [{\n          \"tag\": \"h1\",\n          \"content\": \"Lorem ipsum\"\n        },\n        {\n          \"tag\": \"p\",\n          \"content\": \"Lorem ipsum dolor sit amet, nisl lorem, wisi egestas orci tempus class massa.\"\n        }\n      ],\n      \"footer\": \"Sample of footer. See \u003ca href='https://github.com/Albejr/jquery-albe-timeline' target='_blank'\u003emore details\u003c/a\u003e\"\n    }]`;\n  }\n```\n\n### Options\n\n| Name           |          | Type                               | Default   | Description                                                                                       |\n| -------------- | -------- | ---------------------------------- | --------- | ------------------------------------------------------------------------------------------------- |\n| [itens]        | required | `Array\u003cTimelineItem\u003e` or `String Json` | [ ]       | List of itens to be displayed.                                                                    |\n| [showGroup]    | optional | Boolean                            | true      | Sets the visibility of the annual grouper. |\n| [showMenu]     | optional | Boolean                            | true      | Sets the anchor menu visibility for annual groupings (depends on 'showGroup'). |\n| [sortDesc]     | optional | Boolean                            | true      | Defines ordering of items, true: Descendente, false: Ascendente. |\n| [formatDate]   | optional | String                             | 'dd MMMM' | Sets the date display format: \u003cul\u003e\u003cli\u003e'dd MMMM'\u003c/li\u003e\u003cli\u003e'dd/MM/yyyy HH:mm:ss'\u003c/li\u003e\u003cli\u003e'MM/dd/yyyy'\u003c/li\u003e\u003cli\u003e'yyyy/MM/dd'\u003c/li\u003e\u003c/ul\u003e |\n| [language]     | optional | String                             | 'pt-BR'   | Specifies manually the display language of texts (i18n), if the token LocaleID is not configured. |\n| [theme]        | optional | String                             | 'basic'   | Defines the style: \u003cul\u003e\u003cli\u003e'basic'\u003c/li\u003e\u003cli\u003e'horizontal'\u003c/li\u003e\u003cli\u003e'minimalist'\u003c/li\u003e\u003cli\u003e'mobile'\u003c/li\u003e\u003cli\u003e'vertical'\u003c/li\u003e\u003c/ul\u003e |\n\n#### TimelineItem Type\n\n| Name     |          | Type              | Description                |\n| -------- | -------- | ----------------- | -------------------------- |\n| datetime | required | Date              |                            |\n| icon     | optional | string            |                            |\n| header   | optional | string            |                            |\n| body     | required | `Array\u003cItemBody\u003e` |                            |\n| footer   | optional | string            |                            |\n\n#### ItemBody Type\n\n| Name    |          | Type           | Description                |\n| ------- | -------- | -------------- | -------------------------- |\n| tag     | required | string         |                            |\n| content | required | string         |                            |\n| attr    | optional | `TagAttribute` |                            |\n\n#### TagAttribute Type\n\n| Name     |          | Type   | Description                |\n| -------- | -------- | ------ | -------------------------- |\n| href     | optional | string |                            |\n| target   | optional | string |                            |\n| title    | optional | string |                            |\n| src      | optional | string |                            |\n| width    | optional | string |                            |\n| cssclass | optional | string |                            |\n\n## Html Structure\nWe'll have a similar result:\n```html\n\u003cngx-timeline\u003e\n    \u003cdiv id=\"timeline-albe\" class=\"clasic\"\u003e\n        \u003csection\u003e\n            \u003cheader class=\"group\"\u003e2020\u003c/header\u003e\n            \u003cdiv class=\"item\"\u003e\n                \u003cdiv class=\"badge\"\u003e\n                    \u003cspan\u003e29/03\u003c/span\u003e\n                \u003c/div\u003e\n                \u003carticle\u003e\n                    \u003cheader\u003eSample of header\u003c/header\u003e\n                    \u003cdiv class=\"body\"\u003e\n                        \u003cspan\u003e2017-03-29 23:59:59\u003c/span\u003e\n                        \u003ch1\u003eLorem ipsum\u003c/h1\u003e\n                        \u003cp\u003eLorem ipsum dolor sit amet, nisl lorem, wisi egestas orci tempus class massa.\u003c/p\u003e\n                    \u003c/div\u003e\n                    \u003cfooter\u003eSample of footer.\u003c/footer\u003e\n                \u003c/article\u003e\n                \u003cdiv class=\"badge last\"\u003e\n                \u003c/div\u003e\n            \u003c/div\u003e\n        \u003c/section\u003e\n    \u003c/div\u003e\n\u003cngx-timeline\u003e\n```\n\n## Styling guide\n\nThere are several classes that help you to create your custom styles\n`app.component.css`\n```css\n:host ::ng-deep #timeline-albe.minimalist {\n  color: inherit;\n  font-size: inherit;\n  width: inherit;\n  margin: 10px;\n}\n```\n\n## Notes\n* The **datetime** element must meet the ISO 8601 standard in year-month-day format \"yyyy-MM-dd\" or \"yyyy-MM-dd HH:mm:ss\"\n\n## Demo App\nFollow these instructions to run the demo:\n\n1. Clone the repository to your local machine\n2. From the project folder, run `npm i` to install all required dependencies\n3. Run `ng b ngx-timeline-albe` to build in **dist** folder.\n4. Run `ng s` to serve the project from a live-updating server.\n5. Go to `localhost:4200` to see the demo site\n\n\n## To do\n- [x] If 'json' (string) is passed, convert to 'object'.\n- [x] Displays default message.\n- [ ] Insert animation.\n- [x] Sort items by date.\n- [x] Multiple languages.\n- [x] Multiple styles.\n- [ ] Document CSS customization.\n- [x] Document 'json' or 'object'.\n\n\u003eInspired on the plug-in: https://github.com/Albejr/jquery-albe-timeline\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbejr%2Fngx-timeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbejr%2Fngx-timeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbejr%2Fngx-timeline/lists"}