{"id":18287079,"url":"https://github.com/handsontable/babel-plugin-forbidden-imports","last_synced_at":"2025-06-23T17:03:32.349Z","repository":{"id":66216375,"uuid":"87159734","full_name":"handsontable/babel-plugin-forbidden-imports","owner":"handsontable","description":"Babel plugin which adds you ability to forbidden load specific modules","archived":false,"fork":false,"pushed_at":"2017-07-19T09:55:02.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-04-14T11:53:47.080Z","etag":null,"topics":["babel","babel-plugin"],"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/handsontable.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-04T07:36:10.000Z","updated_at":"2024-06-18T21:28:16.746Z","dependencies_parsed_at":"2023-02-25T02:15:49.987Z","dependency_job_id":null,"html_url":"https://github.com/handsontable/babel-plugin-forbidden-imports","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsontable%2Fbabel-plugin-forbidden-imports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsontable%2Fbabel-plugin-forbidden-imports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsontable%2Fbabel-plugin-forbidden-imports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handsontable%2Fbabel-plugin-forbidden-imports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/handsontable","download_url":"https://codeload.github.com/handsontable/babel-plugin-forbidden-imports/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222880659,"owners_count":17051935,"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","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","babel-plugin"],"created_at":"2024-11-05T13:24:20.626Z","updated_at":"2025-04-05T08:31:39.523Z","avatar_url":"https://github.com/handsontable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## babel-plugin-forbidden-imports\n\n[![Build Status](https://img.shields.io/travis/handsontable/babel-plugin-forbidden-imports.svg?style=flat-square)](https://travis-ci.org/handsontable/babel-plugin-forbidden-imports)\n[![NPM](https://img.shields.io/npm/v/babel-plugin-forbidden-imports.svg?style=flat-square)](https://npmjs.org/package/babel-plugin-forbidden-imports)\n[![Dependencies](https://img.shields.io/david/handsontable/babel-plugin-forbidden-imports.svg?style=flat-square)](https://david-dm.org/handsontable/babel-plugin-forbidden-imports)\n[![License](https://img.shields.io/npm/l/babel-plugin-forbidden-imports.svg?style=flat-square)](https://npmjs.org/package/babel-plugin-forbidden-imports)\n\nThis is a Babel plugin for static import/require modules checking. Any imported modules (using import or require) by default are forbidden. This plugin\ncan be helpful in situations when you want to forbidden using specific modules in your environment.\n\n# Installation\n\nInstall via [npm](https://npmjs.org/package/babel-plugin-forbidden-imports).\n```sh\nnpm install --save-dev babel-plugin-forbidden-imports\n```\n\n# Configuration\n\nConfigure it in your babelrc file (`.babelrc`).\n\n```js\n{\n  \"env\": {\n    \"node\": {\n      \"plugins\": [\n        [\n          \"babel-plugin-forbidden-imports\",\n          {\n            allowedModules: [\"./my-local-module\", \"lodash/*\"]\n          }\n        ]\n      ]\n    }\n  }\n}\n\n```\n\nor use with `babel-register`\n\n```\nrequire('babel-register')({\n  plugins: [\n    [\n      'babel-plugin-forbidden-imports',\n      {\n        allowedModules: [\"./my-local-module\", \"lodash/*\"]\n      }\n    ]\n  ]\n});\n\n```\n\n## License\n\n[MIT License](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandsontable%2Fbabel-plugin-forbidden-imports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhandsontable%2Fbabel-plugin-forbidden-imports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandsontable%2Fbabel-plugin-forbidden-imports/lists"}