   @namespacePath: "Neptune"
   @namespace: null
   @isNamespace: (klass) -> klass?.prototype instanceof Base
+  @isNode: isNode
+  @package: _package = require "../package.json"
+  @version: _package.version
 
 console.log "neptune-namespaces global defined: self.Neptune"


  @addModules: (map) ->
    @modules = [] unless @hasOwnProperty "modules"
    @moduleNames = [] unless @hasOwnProperty "moduleNames"

    for name, module of map
      @moduleNames.push name

  @namespace: null
  @allNamespaces: {}
  @namespaces: []
  # @modules: []
  # @moduleNames: []

  @getName: ->
    @_name || @name

  @getInspectedObjects: ->
    out = {}
    for namespace in @namespaces
      out[namespace.getName()] = namespace.getInspectedObjects()
    for mod in @moduleNames
      out[mod] = true
    out

  # OUT: namespace
  @addNamespace: (name, namespace) ->
