{"id":22452626,"url":"https://github.com/totaltechgeek/deejay-file-query","last_synced_at":"2026-01-27T13:32:17.349Z","repository":{"id":148358529,"uuid":"424358681","full_name":"TotalTechGeek/deejay-file-query","owner":"TotalTechGeek","description":"A tool to query data from files using the Deejay language built on RxJS","archived":false,"fork":false,"pushed_at":"2024-11-26T15:52:40.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-06T01:34:19.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/TotalTechGeek.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":"2021-11-03T19:44:28.000Z","updated_at":"2024-11-26T15:53:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"62eea7e0-6911-4dc0-9d29-ba10460de061","html_url":"https://github.com/TotalTechGeek/deejay-file-query","commit_stats":{"total_commits":52,"total_committers":3,"mean_commits":"17.333333333333332","dds":"0.15384615384615385","last_synced_commit":"3a8dc41c00ae17b58e073cc2046f4e7515508750"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotalTechGeek%2Fdeejay-file-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotalTechGeek%2Fdeejay-file-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotalTechGeek%2Fdeejay-file-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotalTechGeek%2Fdeejay-file-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TotalTechGeek","download_url":"https://codeload.github.com/TotalTechGeek/deejay-file-query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228419506,"owners_count":17916772,"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":"2024-12-06T06:11:55.677Z","updated_at":"2026-01-27T13:32:17.304Z","avatar_url":"https://github.com/TotalTechGeek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deejay File Query Tool\n\n```txt\ndeejay --help\n```\n\nProduces\n\n```txt\nUsage: deejay [options]\n\nA program written to allow you to use the deejay DSL on files to query out data.\n\nOptions:\n  -V, --version            output the version number\n  -f, --format \u003cformat\u003e    The format of the file (choices: \"json\", \"csv\", \"bigjson\", \"avro\")\n  -i, --input \u003cfile\u003e       The file to be processed (default: \"$\")\n  -c, --command \u003ccommand\u003e  The command to run (default: \"\")\n  -o, --output \u003cfile\u003e      Output file\n  -x, --export \u003cmode\u003e      The output format (choices: \"console\", \"json\", \"csv\", \"avro\", default: \"console\")\n  -a, --additional \u003cinfo\u003e  Additional information for the file parser\n  -h, --help               display help for command\n\n```\n\n---\n\n## Query Language\n\nAdditional documentation coming soon. Uses the query language from `deejay-rxjs-dsl`.\n\n### Examples\n\n```txt\ndeejay -i file.csv -c \"average @.age\"\n```\n\nProduces:\n\n```txt\n32.5\n```\n\nComplicated Query (getting counts of people who share a first name):\n\n```txt\ndeejay -i file.json -c \"mergeMap @.people; reduce groupBy($.accumulator, $.current, split($.name, ' ').0, $.accumulator+1, 0), {}; mergeMap toPairs(@); filter @.1 \u003e 1; map ({ name: @.0, count: @.1 })\" -x csv\n```\n\n```csv\nname,count\nMike,3\nKevin,2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotaltechgeek%2Fdeejay-file-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotaltechgeek%2Fdeejay-file-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotaltechgeek%2Fdeejay-file-query/lists"}