{"id":15447212,"url":"https://github.com/jaredly/ppx_import","last_synced_at":"2025-09-13T10:48:02.740Z","repository":{"id":66952836,"uuid":"99761180","full_name":"jaredly/ppx_import","owner":"jaredly","description":null,"archived":false,"fork":false,"pushed_at":"2017-08-09T05:28:24.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T16:51:11.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/jaredly.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2017-08-09T03:26:53.000Z","updated_at":"2017-08-13T09:40:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"989ba2ae-7c9a-4d78-bf95-539f8f49edb0","html_url":"https://github.com/jaredly/ppx_import","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"c21765fa40d3bf57c8644683cfb39f6f09254b3a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaredly/ppx_import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fppx_import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fppx_import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fppx_import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fppx_import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredly","download_url":"https://codeload.github.com/jaredly/ppx_import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fppx_import/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274952149,"owners_count":25380103,"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-09-13T02:00:10.085Z","response_time":70,"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":"2024-10-01T20:04:15.568Z","updated_at":"2025-09-13T10:48:02.719Z","avatar_url":"https://github.com/jaredly.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ppx_import - javascript-style imports for reason/ocaml\n\n## Why?\n\nThis is more concise than doing a ton of lets, and more specific than an `open`.\n\n## What does it look like?\n\nNow you get to\n```\n[%%import thing][@@from Source1];\n[%%import (Sub1, Sub2)][@@from Source2];\n[%%import (one, Two.Three ((), four, Five.Six))][@@from Source3];\n```\n\nwhich turns into\n```\nlet thing = Source1.thing;\nmodule Sub1 = Source2.Sub1;\nmodule Sub2 = Source2.Sub2;\nlet one = Source3.one;\nmodule Three = Source3.Two.Three;\nlet four = Source3.Two.Three.four;\nmodule Six = Source3.Two.Three.Five.Six;\n```\n\nSee [test.re](test/test.re) for more examples.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredly%2Fppx_import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredly%2Fppx_import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredly%2Fppx_import/lists"}