It would be great if the javascript api could be leveraged in node based applications so that we could leverage some of the helper classes that don't need a web map. e.g. require('esri-arcgis-Portal')
For example, the new geometry engine could be used to perform basic spatial operations and the Portal class could be used to access a user's information and content.