{"id":16198071,"url":"https://github.com/benoitvallon/closure-notepad","last_synced_at":"2025-04-07T17:13:14.824Z","repository":{"id":34997077,"uuid":"39084926","full_name":"benoitvallon/closure-notepad","owner":"benoitvallon","description":"Code sample based on the Closure tutorial","archived":false,"fork":false,"pushed_at":"2015-07-14T17:18:33.000Z","size":5748,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T19:19:28.996Z","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/benoitvallon.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":"2015-07-14T15:55:23.000Z","updated_at":"2015-07-14T16:02:11.000Z","dependencies_parsed_at":"2022-09-01T23:41:43.034Z","dependency_job_id":null,"html_url":"https://github.com/benoitvallon/closure-notepad","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/benoitvallon%2Fclosure-notepad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Fclosure-notepad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Fclosure-notepad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitvallon%2Fclosure-notepad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitvallon","download_url":"https://codeload.github.com/benoitvallon/closure-notepad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694877,"owners_count":20980733,"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-10-10T09:11:02.986Z","updated_at":"2025-04-07T17:13:14.799Z","avatar_url":"https://github.com/benoitvallon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# closure-notepad\nCode sample based on the Closure tutorial\n\n## Getting started\n\nDownload the Closure Library from the Git repository by executing the following command from the command line inside your working project directory.\n\n```shell\ngit clone https://github.com/google/closure-library\n```\n\n## Calculating dependencies\n\n```shell\nclosure-library/closure/bin/build/closurebuilder.py \\\n  --root=closure-library/ \\\n  --root=myproject/ \\\n  --namespace=\"myproject.start\"\n```\n\n## Compiled and minified version\n\nTo get compiled output, you'll need the Closure Compiler executable jar file and you'll need to tell ClosureBuilder where it is. [Download the jar from the repository](http://dl.google.com/closure-compiler/compiler-latest.zip) and put it in the same directory that contains your closure-library directory.\n\n```shell\nclosure-library/closure/bin/build/closurebuilder.py \\\n  --root=closure-library/ \\\n  --root=myproject/ \\\n  --namespace=\"myproject.start\" \\\n  --output_mode=compiled \\\n  --compiler_jar=compiler.jar \\\n  \u003e myproject/start-compiled.js\n```\n\n### Additional flags to Closure Compiler\n\n```shell\n--compiler_flags=\"--compilation_level=ADVANCED_OPTIMIZATIONS\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitvallon%2Fclosure-notepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitvallon%2Fclosure-notepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitvallon%2Fclosure-notepad/lists"}