CLJSJS - Use Javascript Libraries in Clojurescript With Ease

In Clojure, Java interoperability or “interop” is a core feature. In Clojurescript, interop with Javascript libraries does not work out-of-the-box across optimization modes. Extern files or “externs” required for advanced optimizations are often hard to find.

To fix this a few newly found friends and I created CLJSJS. CLJSJS is an effort to package Javascript libraries with their respective extern files and provide tools to integrate them into your project.

My personal hope is that this will make it easier for newcomers to get started with Clojurescript.

Also existing solutions like deps.clj (more here) only address the problem of Javascript dependencies partially. Maybe CLJSJS can serve as a vehicle to find some "pseudo-standard" for this kind of stuff.

Thanks to Juho Teperi, Micha Niskin & Alan Dipert for their contributions and ideas so far. Now go and check out the project homepage or jump straight into the packages repo and learn how you can contribute.

Announcement post and discussion on the Clojurescript mailinglist

@martinklepsch, January 2015

Other Posts

  1. Props, Children & Component Lifecycle in ReagentMay 2016
  2. Om/Next Reading ListNovember 2015
  3. Parameterizing ClojureScript BuildsAugust 2015
  4. ClojureBridge BerlinJuly 2015
  5. Managing Local and Project-wide Development Parameters in LeiningenJune 2015
  6. Formal Methods at AmazonApril 2015
  7. (lisp keymap)February 2015
  8. Why Boot is Relevant For The Clojure EcosystemNovember 2014
  9. S3-Beam — Direct Upload to S3 with Clojure & ClojurescriptOctober 2014
  10. Patalyze — An Experiment Exploring Publicly Available Patent DataOctober 2014
  11. Running a Clojure Uberjar inside DockerSeptember 2014
  12. Using core.async and Transducers to upload files from the browser to S3September 2014
  13. Emacs & VimJuly 2014
  14. Heroku-like Deployment With Dokku And DigitalOceanMarch 2014
  15. Woodworking MasterclassesFebruary 2014
  16. Early Adopters And Inverted Social ProofFebruary 2014
  17. Living SmallFebruary 2014
  18. Sending You a TelegramJanuary 2014
  19. Running a Marathon, Or NotJanuary 2014
  20. Code SimplicityJanuary 2014
  21. What do we need to know?December 2013
  22. Sculley's DiseaseDecember 2013
  23. A Resurrection PostDecember 2013
  24. A Trip To The USSeptember 2013
  25. Analytics DataApril 2013
  26. Asynchronous CommunicationApril 2013
  27. From Zero to Marathon in Six MonthtsMarch 2013
  28. Git Information in Fish Shell’s PromptDecember 2012
  29. When We Build StuffAugust 2012
  30. Models, Operations, Views and EventsJuly 2012
  31. The Twelve Factor AppJune 2012
  32. Paris And BackMay 2012
  33. A Friend Is Looking For A Summer InternshipMay 2012
  34. Kandan Team ChatMay 2012
  35. Startups, This Is How Design WorksMarch 2012
  36. Entypo Icon SetMarch 2012
  37. Hosting A Static Site On Amazon S3February 2012
  38. Exim4 Fix Wrongly Decoded Mail SubjectJanuary 2012