{"id":28256853,"url":"https://github.com/remahmoud/cjs-fixer","last_synced_at":"2026-05-01T19:31:09.605Z","repository":{"id":184213217,"uuid":"644820799","full_name":"remahmoud/cjs-fixer","owner":"remahmoud","description":"cli tool to fix commonjs exports from exports.default to module.exports in a file or directory of files.","archived":false,"fork":false,"pushed_at":"2023-05-24T10:23:23.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T22:15:02.479Z","etag":null,"topics":["cli","cli-app","commonjs","commonjs-bundle","commonjs-module","commonjs-modules","commonjs-package","npm-cli","npm-package"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/remahmoud.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}},"created_at":"2023-05-24T10:23:18.000Z","updated_at":"2023-05-24T10:25:42.000Z","dependencies_parsed_at":"2023-07-27T14:30:58.326Z","dependency_job_id":null,"html_url":"https://github.com/remahmoud/cjs-fixer","commit_stats":null,"previous_names":["remahmoud/cjs-fixer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/remahmoud/cjs-fixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remahmoud%2Fcjs-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remahmoud%2Fcjs-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remahmoud%2Fcjs-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remahmoud%2Fcjs-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remahmoud","download_url":"https://codeload.github.com/remahmoud/cjs-fixer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remahmoud%2Fcjs-fixer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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","cli-app","commonjs","commonjs-bundle","commonjs-module","commonjs-modules","commonjs-package","npm-cli","npm-package"],"created_at":"2025-05-19T23:14:15.854Z","updated_at":"2026-05-01T19:31:09.600Z","avatar_url":"https://github.com/remahmoud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commonjs fix exports\n\ncli tool to fix commonjs exports from exports.default to module.exports in a file or directory of files.\n\n## Install\n\n```bash\nnpm install -g cjs-fixer\n```\n\n## Usage\n\n### fot a file\n\noption is:\n\n`-f` or `--file`\n\n```bash\ncjs-fixer -f ./path/to/file.js\n```\n\n### for a directory\n\noption is:\n\n`-d` or `--dir`\n\n```bash\ncjs-fixer -d ./path/to/dir\n```\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, please create an issue.\n\n### Author\n\n[Mahmoud Ibrahiam](https://www.linkedin.com/in/mahmoud-ibrahiam)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremahmoud%2Fcjs-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremahmoud%2Fcjs-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremahmoud%2Fcjs-fixer/lists"}