{"id":40881887,"url":"https://github.com/sivsivsree/angular-json-table","last_synced_at":"2026-01-22T01:15:04.797Z","repository":{"id":57190232,"uuid":"160832711","full_name":"sivsivsree/angular-json-table","owner":"sivsivsree","description":"Angular component to populate JSON to table in angular. ","archived":false,"fork":false,"pushed_at":"2022-10-04T10:37:56.000Z","size":386,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T20:38:39.087Z","etag":null,"topics":["angular","angular-module","hacktoberfest","json-table"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sivsivsree.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":"2018-12-07T14:17:14.000Z","updated_at":"2024-07-10T14:06:12.000Z","dependencies_parsed_at":"2022-08-27T10:41:11.703Z","dependency_job_id":null,"html_url":"https://github.com/sivsivsree/angular-json-table","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sivsivsree/angular-json-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivsivsree%2Fangular-json-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivsivsree%2Fangular-json-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivsivsree%2Fangular-json-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivsivsree%2Fangular-json-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sivsivsree","download_url":"https://codeload.github.com/sivsivsree/angular-json-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivsivsree%2Fangular-json-table/sbom","scorecard":{"id":828327,"data":{"date":"2025-08-11","repo":{"name":"github.com/sivsivsree/angular-json-table","commit":"f1081e2641126c4d0d81563007d260e5bb31c3b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"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":"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":"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":"Code-Review","score":1,"reason":"Found 1/8 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"53 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-hpx4-r86g-5jrg","Warn: Project is vulnerable to: GHSA-prr3-c3m5-p7q2","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-r7qp-cfhv-p84w","Warn: Project is vulnerable to: GHSA-q9mw-68c2-j6m5","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","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-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","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-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-25hc-qcg6-38wj","Warn: Project is vulnerable to: GHSA-cqmj-92xf-r6r9","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","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","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc"],"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-23T17:05:34.151Z","repository_id":57190232,"created_at":"2025-08-23T17:05:34.151Z","updated_at":"2025-08-23T17:05:34.151Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28648618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-module","hacktoberfest","json-table"],"created_at":"2026-01-22T01:15:04.099Z","updated_at":"2026-01-22T01:15:04.778Z","avatar_url":"https://github.com/sivsivsree.png","language":"TypeScript","readme":"# Angular JSON table module\n\nAngular JSON Table is an Angular 4+ module to populate tables from the JSON data provided\n\n[![npm version](https://badge.fury.io/js/angular-json-table.svg)](https://badge.fury.io/js/angular-json-table)\n\n# Features!\n  - Pagination\n  - Select and Delete rows\n  - Edit Rows\n  - Table header customizations\n  - Display only needed data than the whole JSON\n\n\n\n\n### Installation\n\nRequires requires *Angular2+*.\n\nInstall the module using npm.\n\n```sh\n$ cd my-angular2-project # Go to the project you are working on.\n# Install the module using the following.\n$ npm i angular-json-table --save\n```\n\nIn the *app.module.ts*\nAdd ```JSONTableModule``` to the ```imports```.\n\n```ts\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { AppComponent } from './app.component';\n\nimport { JSONTableModule } from 'angular-json-table';  // import the Module.\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    JSONTableModule // Add the JSONTableModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n### Usage\n\n\nIn your ```custom.component.html``` add ```data-table``` to render the table from the JSON\n\n```html\n\u003cjson-table \n      [dataSource]=\"dataFromServer\"\n      [headers]=\"customHeaders\"\n      [update]=\"true/false\"\n      [delete]=\"true/false\"\n      (selectRow)=\"selectedRow($event)\"\n      (deleteRow)=\"deleteByIdS($event)\"\n      (updateRow)=\"updateChanges($event)\"\u003e\u003c/json-table\u003e\n```\n\nie, in your ```custom.component.ts```  should be like:\n\n```ts\n// [headers] are used to define the table head and show what are the feilds required.\ncustomHeaders: any = {\n    thead: ['CUSTOM NAME 1', 'SOME COOL NAME', 'ANOTHER NAME'], // the Column Name in table head.\n    displayed: ['someFeild1', 'someFeild2', 'someFeild3'] // the data it should populate in table.\n  };\n\n// JSON data can be from any source just need an `id` in order to update and delete. \ndataFromServer: any =\n    [{\n      'id': 20,\n      'someFeild1': 'asdfasdf',\n      'someFeild2': 'asdf',\n      'someFeild3': 'asdfasdfasfasdfa',\n      },\n      ....\n     {\n      'id': 81,\n      'someFeild1': 'aasdfsdf',\n      'someFeild2': 'asasdfdf',\n      'someFeild3': 'dfasfasdfa',\n      }, \n    ];\n    \n    deleteByIdS(row){\n        console.log(row); // Returns the row which is selected by clicking.\n     }\n     \n    deleteByIdS(ids){\n        console.log(id); // this function gives the ID of deleted rows.. as an array\n    }\n    \n    updateChanges(row){\n        console.log(row); // This return the row which is updated with the id.\n    }\n```\n\nConsider if you are having a json as the following:\u003cbr\u003e\n**Note:** its Importent to have an unique feild named  ```id``` in the json data to use the *Delete* and *Update* features.\n\n```js\n    [{\n      'id': 20,\n      'someFeild1': 'asdfasdf',\n      'someFeild2': 'asdf',\n      'someFeild3': 'asdfasdfasfasdfa',\n      },\n      ....\n     {\n      'id': 81,\n      'someFeild1': 'aasdfsdf',\n      'someFeild2': 'asasdfdf',\n      'someFeild3': 'dfasfasdfa',\n      }, \n    ]\n```\n\n### Properties\n##### Inputs\n```[dataSource] ``` : The JSON data input \u003cbr\u003e\n```[headers]``` : The Headers need to render the Table \u003cbr\u003e\n```[update]```: Booelan ```true``` to Enable data modification / ```false``` to disable.\u003cbr\u003e\n```[update]```: Booelan ```true``` to Enable row deletion / ```false``` to disable.\u003cbr\u003e\n\n##### Output\n\n```(selectRow)``` : Callback when a row is selected , returns the row object with ```id```\u003cbr\u003e\n```(deleteRow)``` : Callback to delete the Row, with the array of `[ids]`\u003cbr\u003e\n```(updateRow)``` : Callback to get the Updated, with the row object with ```id```\u003cbr\u003e\n\n\n#### Run\nRun the angular to test out the table implementation:\n```sh\n$ ng serve\n```\n\n\n\nLicense\n----\n\nMIT\n\n[![N|lrucache-nodejs](https://img.shields.io/badge/with%20🖤-%20Siv%20S-red.svg?longCache=true\u0026style=popout-square)](https://sivsivsree.github.io)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivsivsree%2Fangular-json-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsivsivsree%2Fangular-json-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivsivsree%2Fangular-json-table/lists"}