{"id":19448350,"url":"https://github.com/csbun/webpack-npm-multi-version-example","last_synced_at":"2026-04-17T09:31:01.088Z","repository":{"id":150165564,"uuid":"97551183","full_name":"csbun/webpack-npm-multi-version-example","owner":"csbun","description":"test webpack with multi version npm packages","archived":false,"fork":false,"pushed_at":"2017-07-18T06:05:48.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T08:53:14.339Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csbun.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-07-18T04:04:29.000Z","updated_at":"2017-07-18T04:10:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8566de45-ee35-4b31-b610-b02f508ec154","html_url":"https://github.com/csbun/webpack-npm-multi-version-example","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/csbun/webpack-npm-multi-version-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fwebpack-npm-multi-version-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fwebpack-npm-multi-version-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fwebpack-npm-multi-version-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fwebpack-npm-multi-version-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csbun","download_url":"https://codeload.github.com/csbun/webpack-npm-multi-version-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Fwebpack-npm-multi-version-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-10T16:26:08.096Z","updated_at":"2026-04-17T09:31:01.066Z","avatar_url":"https://github.com/csbun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-npm-multi-version-example\ntest webpack with multi version npm packages\n\ndependencies in this example:\n\n```\nexample\n  ├── webpack-npm-multi-version-pkg-a@^1.0.0\n  ├── webpack-npm-multi-version-pkg-b@^2.0.0\n  └─┬ webpack-npm-multi-version-pkg-c@^2.0.0\n    ├── webpack-npm-multi-version-pkg-a@^2.1.0\n    └── webpack-npm-multi-version-pkg-b@^2.1.0\n```\n\nnpm@3 install as:\n\n```\nnode_modules\n  ├── webpack-npm-multi-version-pkg-a@1.2.0\n  ├── webpack-npm-multi-version-pkg-b@2.1.0\n  └─┬ webpack-npm-multi-version-pkg-c@2.1.3\n    └── webpack-npm-multi-version-pkg-a@2.1.0\n```\n\ntest result:\n\n```js\nconst pkgA = require('webpack-npm-multi-version-pkg-a');\nconst pkgB = require('webpack-npm-multi-version-pkg-b');\nconst pkgC = require('webpack-npm-multi-version-pkg-c');\n\nconsole.log('example; require a@^1.0.0 b@^2.0.0 c@^2.0.0');\npkgA(); // a@1.2.0\npkgB(); // b@2.1.0\nconsole.log('==================');\npkgC(); // c@2.1.3 with a@2.1.0 and b@2.1.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsbun%2Fwebpack-npm-multi-version-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsbun%2Fwebpack-npm-multi-version-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsbun%2Fwebpack-npm-multi-version-example/lists"}