Questions tagged [cljsjs]

3 questions
0
votes
1 answer

How to find the global name for using a cljsjs module?

I'm trying to use the cljsjs/smoothscroll-polyfill library and I have installed it into my project.clj like so: :dependencies [[cljsjs/smoothscroll-polyfill "0.4.0-0"]]. In the page where I want to use it, I have (:require…
zengod
  • 1,114
  • 13
  • 26
0
votes
1 answer

How do I use cljsjs packages in a deps.edn project

I've tried adding a dependency to my deps.edn: {:deps {cljsjs/js-yaml {:mvn/version "3.3.1-0"} ...} But I'm not able to call functions from that library. In the REPL: cljs.user=> (require '[cljsjs.js-yaml]) cljs.user=>…
Victor Basso
  • 5,556
  • 5
  • 42
  • 60
-1
votes
1 answer

How can I implement kafka consumers in cljs app?

I am working on a project that involves implementing a Kafka messaging bus for resiliency along with SQS in my app. The backend services are developed in CLJ and the frontend script is in CLJS. I have successfully implemented Kafka producers in the…