{"id":18668313,"url":"https://github.com/markis/dedupe-string-plugin","last_synced_at":"2025-11-06T16:30:30.468Z","repository":{"id":147509956,"uuid":"85608352","full_name":"markis/dedupe-string-plugin","owner":"markis","description":"Deduplicate strings from javascript files","archived":false,"fork":false,"pushed_at":"2020-04-06T23:46:55.000Z","size":62,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T18:26:49.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/dedupe-string-plugin","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/markis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03-20T17:51:06.000Z","updated_at":"2019-01-31T21:29:53.000Z","dependencies_parsed_at":"2023-12-09T20:15:12.289Z","dependency_job_id":null,"html_url":"https://github.com/markis/dedupe-string-plugin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markis%2Fdedupe-string-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markis%2Fdedupe-string-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markis%2Fdedupe-string-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markis%2Fdedupe-string-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markis","download_url":"https://codeload.github.com/markis/dedupe-string-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239498664,"owners_count":19648918,"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":"2024-11-07T08:42:13.801Z","updated_at":"2025-11-06T16:30:30.436Z","avatar_url":"https://github.com/markis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dedupe-string-plugin\n\n[![Build Status](https://travis-ci.org/markis/dedupe-string-plugin.svg?branch=master)](https://travis-ci.org/markis/dedupe-string-plugin) [![Known Vulnerabilities](https://snyk.io/test/github/markis/dedupe-string-plugin/badge.svg)](https://snyk.io/test/github/markis/dedupe-string-plugin) [![Greenkeeper badge](https://badges.greenkeeper.io/markis/dedupe-string-plugin.svg)](https://greenkeeper.io/)\n\nDedupe-String-Plugin is a plugin for webpack that is optimized to work with gzip and remove duplicate strings that the gzip compression algorithm is not going to be able to dedupe.\n\n##### Before dedupe-string-plugin:\n``` javascript\nfunction thing() {\n  React.createElement('div');\n  // ... somewhere outside of the gzip sliding window (32KB)\n  React.createElement('div');\n}\n```\n\n##### After dedupe-string-plugin:\n``` javascript\nfunction thing() {\n  const e = 'div';\n  React.createElement(e);\n  // ... somewhere outside of the gzip sliding window (32KB\n  React.createElement(e);\n}\n```\n\n##### Webpack usage\n\n``` javascript\nvar DedupeString = require('dedupe-string-plugin');\n\nmodule.exports = {\n  plugins: [\n    new DedupeString()\n  ]\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkis%2Fdedupe-string-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkis%2Fdedupe-string-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkis%2Fdedupe-string-plugin/lists"}