{"id":27547651,"url":"https://github.com/osdio/js2html-webpack-plugin","last_synced_at":"2025-07-10T17:32:40.630Z","repository":{"id":57283931,"uuid":"49849324","full_name":"osdio/js2html-webpack-plugin","owner":"osdio","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-25T08:17:38.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T14:06:48.935Z","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/osdio.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":"2016-01-18T03:19:59.000Z","updated_at":"2016-01-18T04:08:08.000Z","dependencies_parsed_at":"2022-09-04T18:53:04.416Z","dependency_job_id":null,"html_url":"https://github.com/osdio/js2html-webpack-plugin","commit_stats":null,"previous_names":["soliury/js2html-webpack-plugin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/osdio/js2html-webpack-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2Fjs2html-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2Fjs2html-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2Fjs2html-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2Fjs2html-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osdio","download_url":"https://codeload.github.com/osdio/js2html-webpack-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osdio%2Fjs2html-webpack-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264619419,"owners_count":23638449,"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-04-19T02:53:20.133Z","updated_at":"2025-07-10T17:32:35.622Z","avatar_url":"https://github.com/osdio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js2html-webpack-plugin\n\n\u003e Used for compile the js into html.\n\n\n## Install\n\n```\nnpm i js2html-webpack-plugin --save-dev\n```\n\n## Example\n\n```\n baseConfig.plugins = [\n        new JS2HtmlPlugin({\n            template: path.resolve('./examples/simple/index.html')\n        })\n    ];\n```\n\n## API\n\n### template\n\nhtml的路径","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosdio%2Fjs2html-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosdio%2Fjs2html-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosdio%2Fjs2html-webpack-plugin/lists"}