{"id":21061354,"url":"https://github.com/bardiharborow/babel-plugin-transform-es2015-modules-strip","last_synced_at":"2025-07-29T00:07:34.972Z","repository":{"id":62354732,"uuid":"68286515","full_name":"bardiharborow/babel-plugin-transform-es2015-modules-strip","owner":"bardiharborow","description":"A Babel plugin which strips import and export statements from modules.","archived":false,"fork":false,"pushed_at":"2021-03-18T03:49:00.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T20:05:21.120Z","etag":null,"topics":["babel-plugin","es6-modules"],"latest_commit_sha":null,"homepage":"","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/bardiharborow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"bardiharborow"}},"created_at":"2016-09-15T10:56:23.000Z","updated_at":"2023-03-25T11:43:43.000Z","dependencies_parsed_at":"2022-10-31T10:45:21.088Z","dependency_job_id":null,"html_url":"https://github.com/bardiharborow/babel-plugin-transform-es2015-modules-strip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bardiharborow/babel-plugin-transform-es2015-modules-strip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bardiharborow%2Fbabel-plugin-transform-es2015-modules-strip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bardiharborow%2Fbabel-plugin-transform-es2015-modules-strip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bardiharborow%2Fbabel-plugin-transform-es2015-modules-strip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bardiharborow%2Fbabel-plugin-transform-es2015-modules-strip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bardiharborow","download_url":"https://codeload.github.com/bardiharborow/babel-plugin-transform-es2015-modules-strip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bardiharborow%2Fbabel-plugin-transform-es2015-modules-strip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267606356,"owners_count":24114718,"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":["babel-plugin","es6-modules"],"created_at":"2024-11-19T17:24:00.668Z","updated_at":"2025-07-29T00:07:34.921Z","avatar_url":"https://github.com/bardiharborow.png","language":"JavaScript","funding_links":["https://github.com/sponsors/bardiharborow"],"categories":[],"sub_categories":[],"readme":"# babel-plugin-transform-es2015-modules-strip\n\n[![This project has a package hosted on the NPM repository.](https://img.shields.io/npm/v/babel-plugin-transform-es2015-modules-strip)](https://www.npmjs.com/package/babel-plugin-transform-es2015-modules-strip)\n![](https://img.shields.io/npm/dw/babel-plugin-transform-es2015-modules-strip)\n[![This project is licensed under the terms of the MIT license.](https://img.shields.io/npm/l/babel-plugin-transform-es2015-modules-strip)](https://github.com/bardiharborow/babel-plugin-transform-es2015-modules-strip/blob/master/LICENSE)\n\nThis is a Babel plugin which strips import and export statements from modules.\n\n## Example\n\n**In**\n\n```javascript\nimport path from 'path';\n\nconsole.log(path.sep);\n\nexport default 42;\n```\n\n**Out**\n\n```javascript\nconsole.log(path.sep);\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-modules-strip\n```\n\n## Usage\n\n### With a configuration file (Recommended)\n\n```json\n{\n  \"presets\": [\n    [\"@babel/env\", {\n      \"modules\": false\n    }]\n  ],\n  \"plugins\": [\"transform-es2015-modules-strip\"]\n}\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transformSync(\"code\", {\n  presets: [\n    [\"@babel/env\", {\n      \"modules\": false\n    }]\n  ],\n  plugins: [\"transform-es2015-modules-strip\"]\n});\n```\n\n## License\n\nThis project is licensed under the terms of [the MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbardiharborow%2Fbabel-plugin-transform-es2015-modules-strip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbardiharborow%2Fbabel-plugin-transform-es2015-modules-strip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbardiharborow%2Fbabel-plugin-transform-es2015-modules-strip/lists"}