{"id":19454815,"url":"https://github.com/gssify/html-webpack-replace-var-plugin","last_synced_at":"2025-09-11T16:43:08.932Z","repository":{"id":57267806,"uuid":"91066922","full_name":"gssify/html-webpack-replace-var-plugin","owner":"gssify","description":"This is an extension plugin for the webpack plugin html-webpack-plugin - a plugin that can replace variables in server template","archived":false,"fork":false,"pushed_at":"2017-05-12T09:04:55.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-09T08:19:24.456Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gssify.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":"2017-05-12T08:03:31.000Z","updated_at":"2017-05-18T06:26:12.000Z","dependencies_parsed_at":"2022-09-02T03:40:19.399Z","dependency_job_id":null,"html_url":"https://github.com/gssify/html-webpack-replace-var-plugin","commit_stats":null,"previous_names":["gssan/html-webpack-replace-var-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gssify/html-webpack-replace-var-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fhtml-webpack-replace-var-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fhtml-webpack-replace-var-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fhtml-webpack-replace-var-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fhtml-webpack-replace-var-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gssify","download_url":"https://codeload.github.com/gssify/html-webpack-replace-var-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gssify%2Fhtml-webpack-replace-var-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274672196,"owners_count":25328547,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"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":[],"created_at":"2024-11-10T17:12:08.050Z","updated_at":"2025-09-11T16:43:08.878Z","avatar_url":"https://github.com/gssify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# html-webpack-replace-var-plugin ![](https://badge.fury.io/js/html-webpack-replace-var-plugin.svg) ![issues](https://img.shields.io/github/issues/gssan/html-webpack-replace-var-plugin.svg) ![stars](https://img.shields.io/github/stars/gssan/html-webpack-replace-var-plugin.svg) ![MIT](https://img.shields.io/badge/license-MIT-blue.svg)\n\u003e Replace variables extension for the HTML Webpack Plugin\n\nThis is an extension plugin for the webpack plugin html-webpack-plugin - a plugin that can replace variables in server template\n\n## Installation\nInstall the plugin with npm:\n\n```bash\n$ npm install html-webpack-replace-var-plugin\n```\n\n## Basic Usage\n\nRequire the plugin in your webpack config:\n\n```js\nvar HtmlWebpackReplaceVarPlugin = require('html-webpack-replace-var-plugin');\n```\n\nAdd the plugin to your webpack config as follows:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new HtmlWebpackReplaceVarPlugin()\n]\n```\n\nThe above configuration will actually do nothing due to the configuration defaults.\n\nyou can set options like this:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new HtmlWebpackReplaceVarPlugin({\n    '\u003c%': '{{',\n    '%\u003e': '}}'\n  })\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgssify%2Fhtml-webpack-replace-var-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgssify%2Fhtml-webpack-replace-var-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgssify%2Fhtml-webpack-replace-var-plugin/lists"}