An NPM package which helps you convert your transaction values to different units such as Wei, Kwei, Mwei, Gwei and so on.
npm install eth-unit-converter
const ethConverter = require('eth-unit-converter');
const convertedNum = ethConverter(35, ether);
Output should be 35,000,000,000,000,000,000,
npm run test
Feel free to contribute