1.0.0 • Published 9 years ago
digit-sum v1.0.0
digit-sum
Calculate the digit sum of a number.
Install
$ npm install --save digit-sum
Usage
var digitSum = require('digit-sum');
digitSum(84001);
//=> 13
License
MIT © Andreas Gillström
1.0.0
9 years ago