{"id":22316904,"url":"https://github.com/somecho/cljs-compiler-compiler","last_synced_at":"2025-10-11T15:42:24.216Z","repository":{"id":166858303,"uuid":"642418114","full_name":"somecho/cljs-compiler-compiler","owner":"somecho","description":"Exposing the CLJS compiler to JS","archived":false,"fork":false,"pushed_at":"2023-05-22T18:41:55.000Z","size":878,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T03:29:34.684Z","etag":null,"topics":["cljs","clojurescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/somecho.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-18T14:17:40.000Z","updated_at":"2023-05-22T18:52:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"48ffee7b-1f40-45de-8d96-46565c7022f9","html_url":"https://github.com/somecho/cljs-compiler-compiler","commit_stats":null,"previous_names":["somecho/cljs-compiler-compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/somecho/cljs-compiler-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2Fcljs-compiler-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2Fcljs-compiler-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2Fcljs-compiler-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2Fcljs-compiler-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/somecho","download_url":"https://codeload.github.com/somecho/cljs-compiler-compiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somecho%2Fcljs-compiler-compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007601,"owners_count":26084334,"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-10-11T02:00:06.511Z","response_time":55,"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":["cljs","clojurescript"],"created_at":"2024-12-03T23:08:13.983Z","updated_at":"2025-10-11T15:42:24.211Z","avatar_url":"https://github.com/somecho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLJS Compiler Compiler\n\nA compiler to compile CLJS's compiler... \n\n## Seriously now\nAfter reading David Nolen write about [compiling ClojureScript in the\nbrowser](http://swannodette.github.io/2015/07/29/clojurescript-17/), I wanted\nto try it out myself. Unfortunately, the article is from 2015 and he covered the\ntopic only from a high level.\n\nThis project is to expose `cljs/compile-str` to be callable from JS. Inspired by\nthe [Klipse project](https://github.com/viebel/klipse).\n\n## Usage\n```sh\ngit clone https://github.com/somecho/cljs-compiler-compiler\ncd cljs-compiler-compiler\nlein cljsbuild once\n```\nThere will now be a `cljs.js` file in `/js`. You can then add this as a script\nto your html document. \n\nAlternatively, a [prebuilt JS script](./js/cljs.js) is already packaged in this repo. \n\n```js\ncljs.compile(\"(+ 1 1)\")\n// returns '((1 + 1))\\n'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomecho%2Fcljs-compiler-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomecho%2Fcljs-compiler-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomecho%2Fcljs-compiler-compiler/lists"}