switch to hashspace dependency from npm