{"id":13529683,"url":"https://github.com/mgechev/is-esm","last_synced_at":"2025-07-28T20:08:48.319Z","repository":{"id":44571172,"uuid":"264295816","full_name":"mgechev/is-esm","owner":"mgechev","description":"🌳 CLI tool which checks if a package is distributed in ECMAScript module format. Helps you reason if the package is tree-shakable.","archived":false,"fork":false,"pushed_at":"2024-09-27T05:56:28.000Z","size":315,"stargazers_count":188,"open_issues_count":5,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-20T04:31:20.358Z","etag":null,"topics":["cli","esm","performance","tree-shaking"],"latest_commit_sha":null,"homepage":"","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/mgechev.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":"2020-05-15T20:48:51.000Z","updated_at":"2025-06-30T03:08:29.000Z","dependencies_parsed_at":"2024-10-23T01:59:35.869Z","dependency_job_id":null,"html_url":"https://github.com/mgechev/is-esm","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"45d3fd1b981777eefc0d898d2b556fe6f23948eb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mgechev/is-esm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fis-esm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fis-esm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fis-esm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fis-esm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgechev","download_url":"https://codeload.github.com/mgechev/is-esm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fis-esm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267577977,"owners_count":24110350,"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-07-28T02:00:09.689Z","response_time":68,"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","esm","performance","tree-shaking"],"created_at":"2024-08-01T07:00:38.504Z","updated_at":"2025-07-28T20:08:48.299Z","avatar_url":"https://github.com/mgechev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# `is-esm`\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/mgechev/is-esm/master/demo.gif\" alt=\"\"\u003e\n\u003c/p\u003e\n\nThis package tells you if an npm module uses ECMAScript modules or not.\n\n## Why do I need to know?\n\nECMAScript modules are statically analyzable. This helps bundlers and JavaScript optimizers to get rid of the unused exports and ultimately make your bundles smaller.\n\nYou can read more about this [here](https://web.dev/commonjs-larger-bundles/).\n\n## How to use it?\n\nTo use `is-esm`:\n\n```bash\n$ npx is-esm @angular/core 8.0.0\n$ ✔ Yes\n```\n\n```bash\n$ npx is-esm moment\n$ ✖ No\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fis-esm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgechev%2Fis-esm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fis-esm/lists"}