Useful when your account name is represented as uint64_t and you want to convert it to a readable string
consteoslime=require('eoslime').init();constDONATION_ABI_PATH='./contracts/example/donation.abi';constdonationContract=eoslime.Contract.at('donation.acc');// First donator name is 'donater.name'// In the contract it is encoded as 5559250271203861664constdonaters=awaitdonationContract.getDonaters();// donaters[0].account => 5559250271203861664constdonaterName=eoslime.utils.toName(donaters[0].account);// donaterName => 'donater.name'