{"id":21857418,"url":"https://github.com/binghuis/nano-json","last_synced_at":"2026-05-05T15:31:40.050Z","repository":{"id":235768615,"uuid":"791165195","full_name":"binghuis/nano-json","owner":"binghuis","description":"A Nano Tool for Reading and Writing JSON.","archived":false,"fork":false,"pushed_at":"2024-04-24T10:26:07.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T19:30:02.872Z","etag":null,"topics":["json","read","write"],"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/binghuis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-04-24T08:02:23.000Z","updated_at":"2024-04-24T10:45:36.000Z","dependencies_parsed_at":"2024-04-24T15:04:58.857Z","dependency_job_id":"f9573cca-9d81-4e74-9fd9-cfc60a2e1b0e","html_url":"https://github.com/binghuis/nano-json","commit_stats":null,"previous_names":["binghuis/ez-json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binghuis/nano-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuis%2Fnano-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuis%2Fnano-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuis%2Fnano-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuis%2Fnano-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binghuis","download_url":"https://codeload.github.com/binghuis/nano-json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuis%2Fnano-json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261380138,"owners_count":23149930,"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":["json","read","write"],"created_at":"2024-11-28T02:28:47.525Z","updated_at":"2026-05-05T15:31:40.009Z","avatar_url":"https://github.com/binghuis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nano-json\n\nA Nano Tool for `Reading` and `Writing` JSON.\n\n![node](https://img.shields.io/badge/Node-339933?logo=nodedotjs\u0026labelColor=263238)\n[![npm version](https://img.shields.io/npm/v/@bit2byte/nano-json)](https://www.npmjs.com/package/@bit2byte/nano-json)\n\n## install\n\n`pnpm i @bit2byte/nano-json`\n\n## usage\n\n```ts\nimport path from \"path\";\nimport { PackageJson } from \"type-fest\";\nimport NanoJson from \"@bit2byte/nano-json\";\n\nconst pkg = new NanoJson\u003cPackageJson\u003e(path.join(__dirname, \"./package.json\"));\n\n// read\nawait pkg.r();\n\nif (pkg.d) {\n  // edit\n  pkg.d.version = \"1.0.0\";\n}\n\n// write\nawait pkg.w();\n```\n\nInspired by [@srzorro/file-json](https://github.com/SrZorro/file-json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinghuis%2Fnano-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinghuis%2Fnano-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinghuis%2Fnano-json/lists"}