{"id":38609433,"url":"https://github.com/acharyaks90/ng-tactful-library","last_synced_at":"2026-01-17T08:42:18.658Z","repository":{"id":57310745,"uuid":"197673532","full_name":"acharyaks90/ng-tactful-library","owner":"acharyaks90","description":"Generic Library for angular common components, directive, service ,pipe","archived":false,"fork":false,"pushed_at":"2023-04-23T12:06:04.000Z","size":828,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-09T08:31:58.610Z","etag":null,"topics":["angular","angular-orderbypipe","angular-videojs","angularpipe","ng-tactful-library","second-letter-capital","video-markers","video-marking","video-tagging","videojs","videojs-angular"],"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/acharyaks90.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":"2019-07-19T00:18:06.000Z","updated_at":"2022-09-11T17:09:46.000Z","dependencies_parsed_at":"2023-02-08T09:01:43.517Z","dependency_job_id":null,"html_url":"https://github.com/acharyaks90/ng-tactful-library","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/acharyaks90/ng-tactful-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acharyaks90%2Fng-tactful-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acharyaks90%2Fng-tactful-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acharyaks90%2Fng-tactful-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acharyaks90%2Fng-tactful-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acharyaks90","download_url":"https://codeload.github.com/acharyaks90/ng-tactful-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acharyaks90%2Fng-tactful-library/sbom","scorecard":{"id":162687,"data":{"date":"2025-08-11","repo":{"name":"github.com/acharyaks90/ng-tactful-library","commit":"1b3d43870b2c537233e0a7972534dc0b62fbf8e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/29 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":-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":"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":"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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-16T13:58:02.131Z","repository_id":57310745,"created_at":"2025-08-16T13:58:02.131Z","updated_at":"2025-08-16T13:58:02.131Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":["angular","angular-orderbypipe","angular-videojs","angularpipe","ng-tactful-library","second-letter-capital","video-markers","video-marking","video-tagging","videojs","videojs-angular"],"created_at":"2026-01-17T08:42:18.601Z","updated_at":"2026-01-17T08:42:18.647Z","avatar_url":"https://github.com/acharyaks90.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/ng-tactful-lib.svg)](https://www.npmjs.com/package//ng-tactful-lib)\n[![npm](https://img.shields.io/npm/dt/ng-tactful-lib.svg?label=npm%20downloads)](https://www.npmjs.com/package//ng-tactful-lib)\n[![Twitter Follow](https://img.shields.io/twitter/follow/acharyaks90.svg?style=social\u0026label=Follow%20me)](https://twitter.com/acharyaks90)\n\n# NgTactfulLib\n\nThis library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.\nThis library was updated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1\n\n\n\n## Uses  example of pipe for Capital Second letter\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\nimport { SecondLetterCapitalPipe } from 'ng-tactful-lib'\n\n@NgModule({\n  declarations: [\n    AppComponent,\n    SecondLetterCapitalPipe,\n    \n  ],\n  imports: [\n    BrowserModule\n    \n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\nIn html\n\n'anil kumar' | secondLetterCapital\n\n```\n## Uses  example of order by pipe\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\nimport { OrderByPipe } from 'ng-tactful-lib'\n\n@NgModule({\n  declarations: [\n    AppComponent,\n    OrderByPipe,\n    \n  ],\n  imports: [\n    BrowserModule\n    \n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n\n in html \n\n *ngFor=\"let i of list | orderBy : 'key':'value'\"\n\n```\n## Uses  example of VideoJs marking \n For marking in video we are using VideoJS library and providing Plugin \n Existing and Out dated pluging  https://github.com/spchuang/videojs-markers so credit to him.\n\n Converted plugin code to typescript and run in Angular Environment. \n Now it can be used as component and use it as view child for access methods\n for dyanmic behavior in marking \n\n\n![Image description](https://raw.githubusercontent.com/acharyaks90/ng-tactful-library/master/src/assets/video_marking.png)\n\n# Step -1  Include videojs stlyes  in angular projects main style.css \n```css\n@import '~video.js/dist/video-js.css';\n\n```\n# Step - 2 Importing NgTactfulLibModule library in Angular project\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppComponent } from './app.component';\nimport { NgTactfulLibModule } from 'ng-tactful-lib';\n\n@NgModule({\n  declarations: [\n    AppComponent,\n    ,\n    \n  ],\n  imports: [\n    BrowserModule\n    NgTactfulLibModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n# Step - 3 In your component use ngtactful-video-tag Component providing download_url\n\n```html\n\u003cngtactful-video-tag  [download_url]=\"videoUrl\"  \u003e\u003c/ngtactful-video-tag\u003e\n```\n# Step - 4 In your component class use ngtactful-video-tag Component as ViewChild\n\nProving marking array on function  onAddMarkersOnLoad(marks) also can be marked using onAddMarkers(marks)\n\nEvery time you need adding marking text as example in input box. first insert in your array then sort it \nthen again call onAddMarkers(marks).\nSort function also provided for refrence \nfor update either uptate your array and then call again onAddMarkers(marks).\nRemoving all - just empty your marks array and call onAddMarkers(marks).\n\n\n```typescript\nimport { Component, OnInit, ViewChild } from '@angular/core';\nimport { NgTactFulVideoTagComponent } from 'ng-tactful-lib';\n\n@Component({\n  selector: 'app-example-video-tag',\n  templateUrl: './example-video-tag.component.html',\n  styleUrls: ['./example-video-tag.component.scss']\n})\nexport class ExampleVideoTagComponent implements OnInit {\n  @ViewChild(NgTactFulVideoTagComponent)\n  private videoplayer: NgTactFulVideoTagComponent;\n  marker:string;\n  marks = [{\n    timing:'100',\n    markingTexts:[{name:'test'},{name:'data'}] \n  },\n  {\n    timing:'300',\n    markingTexts:[{name:'test'}] \n  },\n  {\n    timing:'500',\n    markingTexts:[{name:'test'}] \n  }];\n  constructor() { }\n\n  videoUrl = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4';\n  ngOnInit(): void {\n\n  }\n\n  ngAfterViewInit(){\n    this.videoplayer.onAddMarkersOnLoad (this.marks)\n  }\n\n  addMarkers(){\n    \n  let  time = this.videoplayer.gettingTimeAndPausePlayer();\n\n    let tagIndex = this.marks.findIndex(mark =\u003e {\n      return parseInt(mark.timing) == time;\n    });\n\n    if (tagIndex !== -1) {\n\n      this.marks[tagIndex].markingTexts.push({name:this.marker})\n      \n    } else {\n      this.marks.push({timing:time.toString() ,markingTexts:[{name:this.marker}]})\n    }\n\n    this.sortMarkers();\n\n    this.videoplayer.onAddMarkers(this.marks);\n    this.marker = ''\n  }\n\n\n  \n\n    /**\n  * sortMarkers is a function.\n  * @description : Sort the tags data according to time\n  *\n  */\n sortMarkers() {\n  this.marks.sort((a, b) =\u003e {\n    return parseInt(a.timing) - parseInt(b.timing);\n  });\n}\n\n  \n\n}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facharyaks90%2Fng-tactful-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facharyaks90%2Fng-tactful-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facharyaks90%2Fng-tactful-library/lists"}