{"id":31965569,"url":"https://github.com/a4-tacks/jqpack","last_synced_at":"2025-10-14T17:56:10.787Z","repository":{"id":302224636,"uuid":"987059737","full_name":"A4-Tacks/jqpack","owner":"A4-Tacks","description":"Package a simple jq-lang dependency tree into a single file","archived":false,"fork":false,"pushed_at":"2025-07-01T07:03:41.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T08:23:42.201Z","etag":null,"topics":["jq","jq-cli","jq-lang"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/A4-Tacks.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,"zenodo":null}},"created_at":"2025-05-20T14:11:34.000Z","updated_at":"2025-07-01T07:03:44.000Z","dependencies_parsed_at":"2025-07-01T08:23:44.093Z","dependency_job_id":"eb7af6bc-be2a-4993-9cc6-f1e8c6f5a023","html_url":"https://github.com/A4-Tacks/jqpack","commit_stats":null,"previous_names":["a4-tacks/jqpack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/A4-Tacks/jqpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A4-Tacks%2Fjqpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A4-Tacks%2Fjqpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A4-Tacks%2Fjqpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A4-Tacks%2Fjqpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/A4-Tacks","download_url":"https://codeload.github.com/A4-Tacks/jqpack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A4-Tacks%2Fjqpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020001,"owners_count":26086807,"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-10-14T02:00:06.444Z","response_time":60,"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":["jq","jq-cli","jq-lang"],"created_at":"2025-10-14T17:55:07.514Z","updated_at":"2025-10-14T17:56:10.780Z","avatar_url":"https://github.com/A4-Tacks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Package a simple [jq-lang] dependency tree into a single file\n\n# Example\n\n```\njqpack $ cd example/\nexample $ ../jqpack main.jq \u003e out.jq\n- include share.jq                               from share.jq\n- import  data.json             as $data         from data.json\n- include lib.jq                                 from lib.jq\n  - include sub.jq                               from sub.jq\n  - include share.jq                             from share.jq (cached)\nexample $ chmod a+x out.jq\nexample $ ./out.jq\n{\n  \"a\": 2,\n  \"b\": 3,\n  \"c\": 4\n}\nexample $ cat out.jq\n#!/usr/bin/jq -nf\n# share.jq\ndef share::id: 4;\n# data.json\n[{\"a\":{\"foo\":2},\"b\":{\"foo\":1}}] as $data |\n# sub.jq\ndef each: .[];\n# lib.jq\n\ndef sub::each: each; # re-export\ndef extract_data: map_values(share::id - .foo);\n# main.jq\n#!/usr/bin/jq -nf\n\n$data | sub::each | extract_data * {c: share::id}\n```\n\n[jq-lang]: https://github.com/jqlang/jq\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa4-tacks%2Fjqpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa4-tacks%2Fjqpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa4-tacks%2Fjqpack/lists"}