{"id":16048996,"url":"https://github.com/devongovett/babel-plugin-transform-glob-import","last_synced_at":"2026-03-11T14:05:00.962Z","repository":{"id":52932185,"uuid":"105294264","full_name":"devongovett/babel-plugin-transform-glob-import","owner":"devongovett","description":"Import multiple files at once with globs","archived":false,"fork":false,"pushed_at":"2021-04-13T12:16:25.000Z","size":3,"stargazers_count":5,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T12:23:30.321Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devongovett.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}},"created_at":"2017-09-29T16:29:52.000Z","updated_at":"2021-11-15T22:54:41.000Z","dependencies_parsed_at":"2022-08-24T13:20:51.404Z","dependency_job_id":null,"html_url":"https://github.com/devongovett/babel-plugin-transform-glob-import","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devongovett/babel-plugin-transform-glob-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fbabel-plugin-transform-glob-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fbabel-plugin-transform-glob-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fbabel-plugin-transform-glob-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fbabel-plugin-transform-glob-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devongovett","download_url":"https://codeload.github.com/devongovett/babel-plugin-transform-glob-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fbabel-plugin-transform-glob-import/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262293335,"owners_count":23288710,"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":[],"created_at":"2024-10-09T00:12:11.245Z","updated_at":"2026-03-11T14:05:00.921Z","avatar_url":"https://github.com/devongovett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-plugin-transform-glob-import\n\nImport multiple files at once with globs\n\n## Example\n\nImporting both `dir/a.js` and `dir/b.js` at once:\n\n```javascript\nimport vars from './dir/*.js';\n\nconsole.log(vars.a, vars.b);\n```\n\nYou can also import deeply nested globs. The result is a nested object for each directory:\n\n```javascript\n// import dir/a.js and dir/b/c.js\nimport vars from './dir/**/*.js';\n\nconsole.log(vars.a, vars.b.c);\n```\n\nImporting only some files with destructuring also works:\n\n```javascript\n// imports only dir/a.js, and dir/b.js\nimport {a, b} from './dir/*.js';\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fbabel-plugin-transform-glob-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevongovett%2Fbabel-plugin-transform-glob-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fbabel-plugin-transform-glob-import/lists"}