{"id":13659429,"url":"https://github.com/angular/closure-demo","last_synced_at":"2025-10-06T11:31:16.780Z","repository":{"id":51941654,"uuid":"91005255","full_name":"angular/closure-demo","owner":"angular","description":null,"archived":true,"fork":false,"pushed_at":"2020-10-03T19:10:33.000Z","size":15430,"stargazers_count":114,"open_issues_count":8,"forks_count":27,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-09-26T11:03:56.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/angular.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-11T17:17:36.000Z","updated_at":"2024-07-26T13:59:14.000Z","dependencies_parsed_at":"2022-08-23T18:41:09.136Z","dependency_job_id":null,"html_url":"https://github.com/angular/closure-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fclosure-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fclosure-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fclosure-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fclosure-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular","download_url":"https://codeload.github.com/angular/closure-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877267,"owners_count":16554853,"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-08-02T05:01:08.598Z","updated_at":"2025-10-06T11:31:11.469Z","avatar_url":"https://github.com/angular.png","language":"TypeScript","funding_links":[],"categories":["TypeScript (19)"],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/angular/closure-demo.svg?style=svg)](https://circleci.com/gh/angular/closure-demo)\n\nThis repo is the demo/seed for bunding an Angular application with Google Closure Compiler.\nIt contains a minimal Hello World application with a single component.\n\n**The compressed (brotli) JS size for an Angular 7.2.13 Hello World app is 58.28kb.**\n\n```\n-rw-r--r-- 46762 Apr 24 11:28 dist/bundle.js.brotli\n-rw-r--r-- 53282 Apr 24 11:28 dist/bundle.js.gz\n-rw-r--r-- 12917 Apr 24 11:28 node_modules/zone.js/dist/zone.min.js.brotli\n-rw-r--r-- 14156 Feb  4 10:42 node_modules/zone.js/dist/zone.min.js.gz\n```\n\nSee https://github.com/angular/angular/issues/8550 for more context.\n\n# Try it\n\nFirst, install [brotli], which is a more modern compression algorithm than gzip.\nIt gives a 13% smaller JS file, no work required!\nThe commands below use it, but you don't have to.\n\nOn Mac, `brew install brotli`.\n\n``` shell\n$ yarn install\n$ yarn run build\n$ yarn run serve\n```\n\n[brotli]: https://github.com/google/brotli\n\n## Where does the size come from?\n\n``` shell\n$ yarn run explore\n```\n\n# Notes\n\nRequires Node \u003e= 6.x since the `ngc` tool (and its deps) are now shipped as ES6 as well.\n\nRequires Java installed to run the Closure Compiler. We recommend installing http://zulu.org/download-dev/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fclosure-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular%2Fclosure-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fclosure-demo/lists"}