{"id":46613808,"url":"https://github.com/proohit/hybrid-package-json","last_synced_at":"2026-03-07T19:07:19.291Z","repository":{"id":63387583,"uuid":"566738720","full_name":"proohit/hybrid-package-json","owner":"proohit","description":"A tool that creates ESM and CJS package.json files for hybrid npm packages","archived":false,"fork":false,"pushed_at":"2022-11-16T10:46:42.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T14:19:36.990Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proohit.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}},"created_at":"2022-11-16T10:11:39.000Z","updated_at":"2022-12-04T00:01:08.000Z","dependencies_parsed_at":"2022-11-18T01:00:17.917Z","dependency_job_id":null,"html_url":"https://github.com/proohit/hybrid-package-json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/proohit/hybrid-package-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fhybrid-package-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fhybrid-package-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fhybrid-package-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fhybrid-package-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proohit","download_url":"https://codeload.github.com/proohit/hybrid-package-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proohit%2Fhybrid-package-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30226872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-03-07T19:07:18.698Z","updated_at":"2026-03-07T19:07:19.281Z","avatar_url":"https://github.com/proohit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hybrid-package-json\n\nThis tool is used to generate `package.json` file for a hybrid ESM/CJS package. Specifically, it defines the `type` field to `module` for ESM and `commonjs` for CJS and copies it to a target location so that consumers can use either ESM or CJS. It uses the root package json by default.\n\n## Usage\n\n```sh\nhybrid-package-json --esm-target=dist/esm --cjs-target=dist/cjs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproohit%2Fhybrid-package-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproohit%2Fhybrid-package-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproohit%2Fhybrid-package-json/lists"}