Skip to content
Léon Talbot edited this page Aug 4, 2015 · 10 revisions

To use cljsjs packages, simply add

[cljsjs/{name of the lib} "{version-number}"] to your project.clj :dependencies.

Then in one of your :main namespaces do

(ns application.core
  (:require cljsjs.{name of the lib}))

Note that for some packages, you could need other dependencies. This should be mentioned in the package read-me.

Enjoy using cljsjs packages!