Home

Awesome

cljs-nodejs-externs

Clojars Project

Adding cljs-nodejs-externs as a dependency of a Clojurescript project will allow it to use the Node.js standard library (+ express, ws) alongside :optimizations :advanced. The standard library modules continue to be imported as usual (i.e. cljs.nodejs/require).

This project is a coarse, expedient hack for cases where require can't be practically avoided.

There's no original work here - this project is a repackaging of existing Closure externs for Node.js, with a deps.cljs including each file in :externs.

License

Apache License, Version 2.0, per node.js-closure-compiler-externs.