{"id":22591253,"url":"https://github.com/nimabht/json-push-data-node-module","last_synced_at":"2025-08-04T09:32:49.592Z","repository":{"id":80205670,"uuid":"605939867","full_name":"Nimabht/json-push-data-node-module","owner":"Nimabht","description":"Node package - json ","archived":false,"fork":false,"pushed_at":"2023-02-24T08:28:17.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T10:03:43.307Z","etag":null,"topics":["json-api","node-module","npm-module","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/json-update-data","language":"JavaScript","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/Nimabht.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":"2023-02-24T08:28:12.000Z","updated_at":"2023-03-03T10:57:11.000Z","dependencies_parsed_at":"2023-04-20T14:01:44.977Z","dependency_job_id":null,"html_url":"https://github.com/Nimabht/json-push-data-node-module","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"4423eb963d4620745006325d535d36b0a8b36aaf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nimabht/json-push-data-node-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nimabht%2Fjson-push-data-node-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nimabht%2Fjson-push-data-node-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nimabht%2Fjson-push-data-node-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nimabht%2Fjson-push-data-node-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nimabht","download_url":"https://codeload.github.com/Nimabht/json-push-data-node-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nimabht%2Fjson-push-data-node-module/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268675515,"owners_count":24288285,"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-08-04T02:00:09.867Z","response_time":79,"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":["json-api","node-module","npm-module","npm-package"],"created_at":"2024-12-08T09:11:28.730Z","updated_at":"2025-08-04T09:32:49.562Z","avatar_url":"https://github.com/Nimabht.png","language":"JavaScript","readme":"\n# Node.js - json-update-data\n\nYou can use this module for updating your json files in easiest way :)\n\n\n\n\n## Installation\n\nInstall json-update-data\n\n```bash\n  npm install json-update-data\n```\n    \n## Write data\n\n```javascript\nconst Jud = require(\"json-update-data\");\nconst file = \"/tmp/data.json\";\nconst data = [\n  {name: \"Jeff\"}\n];\nJud.writeData(file, data);\n\n```\n\n## Add new data\n\n```javascript\nconst Jud = require(\"json-update-data\");\nconst file = \"/tmp/data.json\";\nconst newData = [\n  {name: \"Jeff\"}\n];\nJud.pushData(file, newData);\n\n```\n## Delete  data\n\n```javascript\nconst Jud = require(\"json-update-data\");\nconst file = \"/tmp/data.json\";\n// 2nd parameter : key name in object\n// 3nd parameter : Value that assigned to that key\nJud.deleteData(file, \"name\", \"Jeff\");\n\n```\n## Delete all data\n\n```javascript\nconst Jud = require(\"json-update-data\");\nconst file = \"/tmp/data.json\";\n// 2nd parameter : key name in object\n// 3nd parameter : Value that assigned to that key\nJud.deleteAllData(file, \"name\", \"Jeff\");\n\n\n```\n\n\n## Authors\n\n- [@Nimabht](https://github.com/Nimabht)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimabht%2Fjson-push-data-node-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimabht%2Fjson-push-data-node-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimabht%2Fjson-push-data-node-module/lists"}