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