{"id":26284129,"url":"https://github.com/metaory/noseyparker-compact","last_synced_at":"2026-01-02T00:40:18.705Z","repository":{"id":281561991,"uuid":"945636037","full_name":"metaory/noseyparker-compact","owner":"metaory","description":"🚧 Compact report formats for Nosey Parker","archived":false,"fork":false,"pushed_at":"2025-03-09T22:39:28.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T23:25:22.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/metaory.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,"publiccode":null,"codemeta":null}},"created_at":"2025-03-09T21:39:12.000Z","updated_at":"2025-03-09T22:41:35.000Z","dependencies_parsed_at":"2025-03-09T23:35:29.419Z","dependency_job_id":null,"html_url":"https://github.com/metaory/noseyparker-compact","commit_stats":null,"previous_names":["metaory/noseyparker-compact"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fnoseyparker-compact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fnoseyparker-compact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fnoseyparker-compact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fnoseyparker-compact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaory","download_url":"https://codeload.github.com/metaory/noseyparker-compact/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243624948,"owners_count":20321200,"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":[],"created_at":"2025-03-14T18:30:01.519Z","updated_at":"2026-01-02T00:40:18.678Z","avatar_url":"https://github.com/metaory.png","language":null,"funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\u003ccode\u003enoseyparker-compact\u003c/code\u003e\u003c/h3\u003e\n  \u003cimg src=\".github/assets/block.png\" alt=\"noseyparker-compact\" width=\"30%\" /\u003e\n  \u003cbr\u003e\n  \u003ch5\u003e\n    compact report formatters for\n    \u003ca href=\"https://github.com/praetorian-inc/noseyparker\"\u003enoseyparker\u003c/a\u003e\n  \u003c/h5\u003e\n  \u003cdiv\u003e\n    \u003ca href=\"#install\"\u003eInstall\u003c/a\u003e |\n    \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e |\n    \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n  \u003c/div\u003e\n  \u003chr\u003e\n  \u003cp\u003etransforms verbose \u003ccode\u003enoseyparker\u003c/code\u003e \u003ckbd\u003eJSON\u003c/kbd\u003e reports\u003c/p\u003e\n  \u003cp\u003einto concise summaries in \u003ckbd\u003eJSON\u003c/kbd\u003e or \u003ckbd\u003eCSV\u003c/kbd\u003e format\u003c/p\u003e\n\u003c/div\u003e\n\n\n## Install\n\n```bash\nnpm install -g noseyparker-compact\n```\n\n## Usage\n\n```bash\nnpc -f \u003cformat\u003e (-i \u003cfile\u003e | \u003c file) [-o \u003cfile\u003e]\n```\n\n### Options\n- `-f, --format`  Output format (csv|json) [required]\n- `-i, --input`   Input file [required unless using stdin]\n- `-o, --output`  Output file [optional, defaults to stdout]\n\n### Examples\n\n```bash\n# Using stdin\ncat report.json | npc -f csv\ncat report.json | npc -f json -o compact.json\n\n# Directly using noseyparker\nnoseyparker report -f json | npc -f csv\nnoseyparker report -f json | npc -f json\n\n# Using input file\nnpc -f csv -i report.json\nnpc -f json -i report.json -o output.json\n\n# Using npx (no installation required)\nnpx noseyparker-compact -f csv -i report.json\ncat report.json | npx noseyparker-compact -f json\n```\n\n### Structure\n\n```jsonc\n[\n  {\n    \"rule_name\": \"Generic Password\",\n    \"mime_essence\": \"text/plain\",\n    \"kind\": \"git_repo\",\n    \"repo_path\": \"./xxxxxxxxxxxx/.git\",\n    \"blob_path\": \"xxxxxxxxx/xxxxxxxxxxxxxxxx/xxxxxx.xx\",\n    \"commit_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"committer_name\": \"John\",\n    \"committer_email\": \"John.Doe@acm.com\",\n    \"committer_timestamp\": \"9999999999 +1000\",\n    \"author_name\": \"John\",\n    \"author_email\": \"John.Doe@acm.com\",\n    \"author_timestamp\": \"8888888888 +1000\",\n    \"message\": \"xxxx xxxxxxx, xxxxxx xxxxxxx, xxxxx xxxxxxxxx xxx xxxxxxxx\",\n    \"source_span\": \"25@28:25@59\",\n    \"offset_span\": \"531:563\",\n    \"snippet_after\": \"# 'xxxxxxxx':\\\"xxxxxxxxxxxxxxxxxx\\\", # 'xxxx':'xxxxxxxxxxxxxxx', 'xxxx':\\\"xxxxxxxxxxxxxxxx\\\", 'xxxxxxxx':\\\"xxxxxxxxxxxxxxxxxxxx\\\"\",\n    \"snippet_matching\": \"xxxxxxxx':\\\"xxxxxxxxxxxxxxxxxxxx\\\"\",\n    \"snippet_before\": \"xxxxxx = { 'xxxxxxx':\\\"xxxxxxx.xxxxxxxxxxxxxx.xxxxx\\\", 'xxxxxxxxx':\\\"xxxxxxxxxx\\\", 'xxxxxx':\\\"xxxxx\\\", # 'xxxx': \\\"xxxxxxxxxxxxxxx\\\"\"\n  },\n  // ...\n]\n```\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fnoseyparker-compact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaory%2Fnoseyparker-compact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fnoseyparker-compact/lists"}