{"id":17291870,"url":"https://github.com/fergiemcdowall/webpack-module-example","last_synced_at":"2026-04-27T12:04:54.471Z","repository":{"id":141810507,"uuid":"308673115","full_name":"fergiemcdowall/webpack-module-example","owner":"fergiemcdowall","description":"Example of javascript module compiled with webpack that can then be used with node, frontend bundles, and \u003cscript\u003e tags","archived":false,"fork":false,"pushed_at":"2020-11-08T07:51:15.000Z","size":275,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T19:15:51.528Z","etag":null,"topics":["modules","webpack"],"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/fergiemcdowall.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-10-30T15:38:59.000Z","updated_at":"2020-11-08T07:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"28bfaf92-ca38-42dd-802e-31d5348d324e","html_url":"https://github.com/fergiemcdowall/webpack-module-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fergiemcdowall/webpack-module-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fergiemcdowall%2Fwebpack-module-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fergiemcdowall%2Fwebpack-module-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fergiemcdowall%2Fwebpack-module-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fergiemcdowall%2Fwebpack-module-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fergiemcdowall","download_url":"https://codeload.github.com/fergiemcdowall/webpack-module-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fergiemcdowall%2Fwebpack-module-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["modules","webpack"],"created_at":"2024-10-15T10:42:07.405Z","updated_at":"2026-04-27T12:04:54.434Z","avatar_url":"https://github.com/fergiemcdowall.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-module-example\n\nThis is an example module that will be used as a proof-of-concept to\ndevelop a compilation and publishing strategy for the `search-index`\nmodule.\n\n## Aims\n\nThis repo contains the source code for a module that contains the\n`level` dependency. Additionally this repo contains build scripts to\npublish the module in various formats. The aim of this module is to\ngenarate:\n\n * A version of the module that runs in node\n * A version of the module that runs as a standalone js file that can\n   be invoked from a `\u003cscript\u003e` tag\n * A version of the module that can be compiled into a runnable web\n   bundle\n * A suite of tests that can be run in node\n * A suite of tests that can be run in the browser\n\n## Requirements\n\nThe code needs to be able to handle the `level` library\n\n## Contraints\n\nThe source code is written in the \"ES6 module\" style, since this is\ncurrenyly the most future-proof way to author modules.\n\n### Bundlers\n\n\n## Build strategy\n\n### A version of the module that runs in node\n\nThis will be non-compiled. The node-version is essentially the raw\nsource of the module.\n\n### A version of the module that runs as a standalone js file that can\nbe invoked from a \u003cscript\u003e tag\n\nThis is compiled from the source code using webpack\n\n### A version of the module that can be compiled into a runnable web bundle\n\nThis is compiled from the source code using webpack\n\n### A suite of tests that can be run in node\n\n\n\n### A suite of tests that can be run in the browser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffergiemcdowall%2Fwebpack-module-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffergiemcdowall%2Fwebpack-module-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffergiemcdowall%2Fwebpack-module-example/lists"}