Home - cljsjs/packages GitHub Wiki
CLJSJS is an effort to package Javascript libraries to be able to use them from within Clojurescript.
Why CLJSJS exists
To optimise the compiled Javascript, Clojurescript
utilizes the Closure compiler. The Closure compiler provides different
optimization modes, the most effective one being called advanced
.
With advanced
optimizations the compiler will munge variable names
to make them take up less space. When using 3rd party code this
requires you to supply a list of names that should not be changed.
These lists are supplied to the compiler in the form of Extern files.
Because these Extern files are a specific requirement for using Javascript libraries with Clojurescript we can not make use of existing packages from packaging systems like NPM or Bower.
Contribute
CLJSJS is a community effort that depends on contributors to support a wide range of Javascript libraries. If you want to help there are a few things you can do:
- Use the packages provided by CLJSJS and report issues
- Watch the cljsjs/packages repo and help other users
- Contribute new packages. Packaging Guide
- Improve this wiki
Documentation
The sidebar in this wiki should give a good glance at what's available.