{"id":20875602,"url":"https://github.com/ivan-corporation/react-compress","last_synced_at":"2025-09-10T19:35:49.719Z","repository":{"id":41054507,"uuid":"458723571","full_name":"Ivan-Corporation/react-compress","owner":"Ivan-Corporation","description":"This compress library was made with Brotli, Gzip and compress-create-react-app help, for React users who want to make website more performance and reduce JS bundle code 🧽 ","archived":false,"fork":false,"pushed_at":"2022-07-23T07:26:05.000Z","size":122,"stargazers_count":30,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-03T17:43:47.206Z","etag":null,"topics":["brotli","javascript","nodejs","react","react-compress"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-compress","language":"TypeScript","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/Ivan-Corporation.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":"2022-02-13T05:55:21.000Z","updated_at":"2024-03-15T06:29:12.000Z","dependencies_parsed_at":"2022-08-24T05:30:51.466Z","dependency_job_id":null,"html_url":"https://github.com/Ivan-Corporation/react-compress","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Freact-compress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Freact-compress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Freact-compress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Freact-compress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ivan-Corporation","download_url":"https://codeload.github.com/Ivan-Corporation/react-compress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253765895,"owners_count":21960815,"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":["brotli","javascript","nodejs","react","react-compress"],"created_at":"2024-11-18T06:47:19.968Z","updated_at":"2025-05-12T15:31:38.076Z","avatar_url":"https://github.com/Ivan-Corporation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM](https://img.shields.io/npm/v/react-compress.svg)](https://www.npmjs.com/package/react-compress)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n![NPM](https://img.shields.io/npm/l/react-compress)\n![npm](https://img.shields.io/npm/dm/react-compress)\n![GitHub stars](https://img.shields.io/github/stars/Ivan-Corporation/react-compress?style=social)\n\n\n\n# React-compress\n\n### This compress library was made with Brotli and Gzip help, for React users who want to make website more performance and reduce JS bundle code without problems like this:\n\u003cimg src='https://pbs.twimg.com/media/FLdahMPXIAErcnh?format=png\u0026name=small'\u003e\n\n\u003cbr/\u003e\n\n\n# Usage\nInstall library into your project `(with npm or yarn)`, how `dev`:\n```bash\nnpm i react-compress --save-dev\n---\nyarn add react-compress -D\n```\n\nAnd then just add react compress in your `package.json` build script like below:\n\n```diff\n-   \"build\": \"react-scripts build\",\n+   \"build\": \"react-scripts build \u0026\u0026 react-compress\",\n```\nAnd then just `run script build` like you always do:\n\n```bash\nnpm run build\n---\nyarn run build\n```\n\n# Example\n## `Before react-compress:`\n\u003cimg src='https://pbs.twimg.com/media/FLdahMRXwAIsz8X?format=png\u0026name=small'\u003e\n\n---\n## `Build script with this library:`\n\u003cimg src='https://pbs.twimg.com/media/FLdahMJX0AUluYh?format=png\u0026name=small'\u003e\n\n\n---\n## `After react-compress:`\n\u003cimg src='https://pbs.twimg.com/media/FLdkIVVWUAMBIds?format=png\u0026name=small'\u003e\n\n\n# Summary \nYou can made your build folder `30% smaller` and optimized than it was without this library. How you can see in Example pictures our JS bundle who loaded 0.39s without this library now loaded in 0.2s, it's `almost 50%!`. \n\nAnd of course when your project larger this library will give you more profit\n\nIf you have some problems, write me, or use issues in this repository\n\n## `Good luck!`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-corporation%2Freact-compress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivan-corporation%2Freact-compress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-corporation%2Freact-compress/lists"}