{"id":25925443,"url":"https://github.com/miniql/miniql-json-example","last_synced_at":"2026-05-29T01:32:32.394Z","repository":{"id":143773320,"uuid":"282798475","full_name":"miniql/miniql-json-example","owner":"miniql","description":"An example of using MiniQL to make queries against a set of JSON files.","archived":false,"fork":false,"pushed_at":"2022-05-30T09:21:30.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-05T23:23:38.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miniql.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"ashleydavis"}},"created_at":"2020-07-27T05:01:09.000Z","updated_at":"2022-08-28T20:21:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"0648de5b-502c-4b33-af8e-5d1a430bc0a2","html_url":"https://github.com/miniql/miniql-json-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miniql/miniql-json-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miniql%2Fminiql-json-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miniql%2Fminiql-json-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miniql%2Fminiql-json-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miniql%2Fminiql-json-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miniql","download_url":"https://codeload.github.com/miniql/miniql-json-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miniql%2Fminiql-json-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33633468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2025-03-03T18:48:25.863Z","updated_at":"2026-05-29T01:32:32.379Z","avatar_url":"https://github.com/miniql.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ashleydavis"],"categories":[],"sub_categories":[],"readme":"# MiniQL - JSON files example\n\nAn example of MiniQL - the tiny JSON-based query language inspired by GraphQL.\n\nThis example shows how to use [miniql](https://www.npmjs.com/package/miniql) and [@miniql/json](https://www.npmjs.com/package/@miniql/json) to run queries against a set of JSON files.\n\nExample [Star Wars data is courtesy of Kaggle](https://www.kaggle.com/jsphyg/star-wars/data).\n\nYou need [Node.js](https://nodejs.org/en/) installed to run this example code.\n\nAny problems? Please log an issue on this repo.\n\nLove this? Please [star the repo](https://github.com/miniql/miniql) and [support my work](https://www.codecapers.com.au/about#support-my-work)\n\n\n## Repo contents\n\n```\n/miniql-json-example\n    index.js    -\u003e Example code that runs various queries against the JSON files.\n    /data\n        ...     -\u003e Various JSON files with data from the Star Wars universe.\n```\n\n## Setup\n\n[Download a the zip file of this code](https://github.com/miniql/miniql-json-example/archive/master.zip) or use Git to clone this repository.\n\nOpen a terminal, change directory to the repo and install dependencies:\n\n```bash\ncd miniql-json-example\nnpm install\n```\n\n## Run the code\n\nOpen a terminal, change directory to the repo and run the code using Node.js:\n\n```bash\ncd miniql-json-example\nnpm start\n```\n\nA bunch of example queries will run and results are displayed in the terminal.\n\nPlease read `index.js` to see each example query.\n\nDon't forget to [star the repo](https://github.com/miniql/miniql) and [follow the developer on Twitter](https://twitter.com/codecapers).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminiql%2Fminiql-json-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminiql%2Fminiql-json-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminiql%2Fminiql-json-example/lists"}