{"id":26517231,"url":"https://github.com/fraction/exports-polyfill","last_synced_at":"2025-03-21T08:19:10.522Z","repository":{"id":18408946,"uuid":"21590666","full_name":"fraction/exports-polyfill","owner":"fraction","description":"A JavaScript polyfill for using the global namespace with `module.exports`.","archived":false,"fork":false,"pushed_at":"2015-11-07T03:15:32.000Z","size":176,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-14T23:30:09.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fraction.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}},"created_at":"2014-07-07T23:31:35.000Z","updated_at":"2022-06-13T15:17:01.000Z","dependencies_parsed_at":"2022-09-05T15:11:47.247Z","dependency_job_id":null,"html_url":"https://github.com/fraction/exports-polyfill","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fexports-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fexports-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fexports-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fexports-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fraction","download_url":"https://codeload.github.com/fraction/exports-polyfill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759953,"owners_count":20505716,"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":"2025-03-21T08:19:09.974Z","updated_at":"2025-03-21T08:19:10.509Z","avatar_url":"https://github.com/fraction.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Exports Polyfill\n=======================\n\nA JavaScript polyfill for using the global namespace with `module.exports`.\n\n## Usage\n\nUse `module.exports` as described in the [documentation](http://nodejs.org/api/modules.html#modules_module_exports) to **read/extend** the namespace.\n\n```js\nmodule.exports = {\n  foo: 42\n};\n\nconsole.log(module.exports.foo); // 42\nconsole.log(foo);                // 42\n```\n\nUse the `exports` [shortcut](http://nodejs.org/api/modules.html#modules_exports_alias) to **read** the namespace.\n\n```js\nmodule.exports = {\n  foo: 42\n};\n\nconsole.log(exports.foo); // 42\n```\n\nUse `module.namespace` to **change** the namespace.\n\n```js\nvar obj = {};\n\nmodule.namespace = obj;\n\nmodule.exports = {\n  foo: 42\n};\n\nconsole.log(obj.foo);     // 42\nconsole.log(exports.foo); // 42\n```\n\n## Support\n\nPlease [open an issue](https://github.com/fraction/exports-polyfill/issues/new) for questions and concerns.\n\n## Contributing\n\nFork this repository, commit your changes, and [open a pull request](https://github.com/fraction/exports-polyfill/compare/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraction%2Fexports-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffraction%2Fexports-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraction%2Fexports-polyfill/lists"}