{"id":17996692,"url":"https://github.com/zk/cljs","last_synced_at":"2025-12-12T01:35:10.437Z","repository":{"id":1261447,"uuid":"1200318","full_name":"zk/cljs","owner":"zk","description":"An experimental Clojure(ish) to Javascript compiler.","archived":false,"fork":false,"pushed_at":"2020-03-26T09:38:38.000Z","size":236,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:41:59.215Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/zk/cljs","language":"Clojure","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/zk.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":"2010-12-27T11:57:42.000Z","updated_at":"2025-03-05T13:11:20.000Z","dependencies_parsed_at":"2022-08-16T12:50:12.738Z","dependency_job_id":null,"html_url":"https://github.com/zk/cljs","commit_stats":null,"previous_names":["zkim/cljs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk%2Fcljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk%2Fcljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk%2Fcljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk%2Fcljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zk","download_url":"https://codeload.github.com/zk/cljs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589123,"owners_count":20640228,"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-29T21:15:33.118Z","updated_at":"2025-12-12T01:35:10.395Z","avatar_url":"https://github.com/zk.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"## cljs\n\n\u003cimg src=\"https://secure.travis-ci.org/zkim/cljs.png\" align=\"right\" /\u003e\n\nAn experimental Clojure(ish) to Javascript compiler.\n\nDocs: [http://zk.github.com/cljs](http://zkim.github.com/cljs)\n\n## Usage\n\n1. `lein new cljs-test`\n\n2. Add a `:cljs` entry to your project.clj:\n\n    \n    (defproject...\n      :cljs {:source-path \"src/cljs\"\n             :source-output-path \"resources/public/js\"\n             :source-libs [some-ns.app]\n             :test-path \"test/cljs\"\n             :test-output-path \"resources/testjs\"\n             :test-libs [app-test]})\n\n\n\n3. Verify the above paths exist.\n\n4. Add `[cljs \"0.3.0\"]` and `[lein-cljs \"0.2.1\"]` to your `:dev-dependencies`.\n\n5. Then `lein deps` and `lein cljs watch`.  This will start the watcher,\nwhich will automatically recompile your cljs libs when cljs source\nfiles change.\n\n6. You now have the ability to use lisp full-stack (kind of), begin\nglobal domination.\n\n\n## Examples\n\nSee\n[http://github.com/zkim/cljs-contrib](http://github.com/zkim/cljs-contrib),\nspecifically:\n\n* `project.clj` for info on the `:cljs` opts map.\n\n* Clone the repo and open `resources/border-layout.html` and\n`resources/panel.html` in your browser.  This will give you an idea of\n how to use the compiled cljs output.\n\nBe sure to include underscore.js in a script tag before including any\ncompiled cljs output.\n\n\n## Todo\n\n* Integrate Google's Closure Compiler for minifying\n* Integrate js-test-driver for testing\n\n\n## Missing Features\n\n* REPL -- Browser stuff from https://github.com/ivan4th/swank-js \u0026\n  comm from swank-clojure\n\n* Macros\n\n* TCO -- Possible with CPS? http://eriwen.com/javascript/cps-tail-call-elimination/\n\n\n## License\n\nCopyright (C) 2010-2011 Zachary Kim\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk%2Fcljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzk%2Fcljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk%2Fcljs/lists"}