{"id":25615172,"url":"https://github.com/wednesday-solutions/graphql-testkit","last_synced_at":"2025-10-09T00:42:37.642Z","repository":{"id":48992402,"uuid":"368931873","full_name":"wednesday-solutions/graphql-testkit","owner":"wednesday-solutions","description":"A utility tool that generates a postman collection with all the mutations and queries that your GraphQL endpoint exposes.","archived":false,"fork":false,"pushed_at":"2024-11-18T07:09:05.000Z","size":26406,"stargazers_count":11,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-29T10:57:04.093Z","etag":null,"topics":["cli","graphql","javascript","postman","test","tooling"],"latest_commit_sha":null,"homepage":"https://wednesday.is/building-products/?utm_source=github\u0026utm_medium=graphql-testkit","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/wednesday-solutions.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":"2021-05-19T16:21:24.000Z","updated_at":"2025-01-31T03:49:04.000Z","dependencies_parsed_at":"2025-04-13T21:13:10.166Z","dependency_job_id":"c57d2d0b-88e4-471c-b39c-15de56d96584","html_url":"https://github.com/wednesday-solutions/graphql-testkit","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/wednesday-solutions/graphql-testkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fgraphql-testkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fgraphql-testkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fgraphql-testkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fgraphql-testkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wednesday-solutions","download_url":"https://codeload.github.com/wednesday-solutions/graphql-testkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fgraphql-testkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000639,"owners_count":26082879,"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-08T02:00:06.501Z","response_time":56,"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":["cli","graphql","javascript","postman","test","tooling"],"created_at":"2025-02-22T03:18:46.816Z","updated_at":"2025-10-09T00:42:37.627Z","avatar_url":"https://github.com/wednesday-solutions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Testkit\n\n\u003e A utility tool that generates a postman collection with all the mutations and queries that your GraphQL endpoint exposes.\n\n![](logo.svg?raw=true)\n\n\n## Install\n\n```sh\n// with npm\nnpm install -g graphql-testkit\n\n// with yarn\nyarn global add graphql-testkit\n```\n\n## Working Demo\n\n![](demo.gif?raw=true)\n\n## Usage\n\n```\ngraphql-testkit \\ \n--endpoint=https://api.spacex.land/graphql\\ \n--header=\"Authorization:123,x-ws-system-id=10\" \\\n--maxDepth=4\n```\n\n- ### endpoint (Required)\n    The GraphQL endpoint that you want to generate the postman collection for\n\n- ### header (optional)\n    Comma separated list of http headers that you need to send to you GraphQL API.\n\n- ### maxDepth (optional)\n    The maximum you want to nest the generated queries and mutations. Default value is 4\n\n- ### outputDirectory (optional)\n    The directory where the output is saved. Default value is \"./output\"\n\n## Output\nAn output directory is created in the `outputDirectory` directory.\nA folder structure based on endpoint will be created, which will contain the Postman collection(collections.json)\n\n\n### For example\n\nendpoint=https://api.spacex.land/graphql\n\n\u003cb\u003eOutput Directory\u003c/b\u003e\n```\n${outputDirectory}/api.spacex.land/graphql/collections.json\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwednesday-solutions%2Fgraphql-testkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwednesday-solutions%2Fgraphql-testkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwednesday-solutions%2Fgraphql-testkit/lists"}