cljs.js/ns->relpath

functionsince v1.7.10Edit
(ns->relpath ns-sym)

Source docstring:
Given a namespace as a symbol return the relative path sans extension
Source code @ clojurescript:src/main/cljs/cljs/js.cljs
(defn ns->relpath
  [ns-sym]
  (string/replace (ana/munge-path ns-sym) \. \/))