UNPKG

digital-root

Version:

Calculate the digital root of a number.

47 lines (46 loc) 813 B
{ "name": "digital-root", "version": "1.0.4", "description": "Calculate the digital root of a number.", "license": "MIT", "repository": "gillstrom/digital-root", "author": { "name": "Andreas Gillström", "email": "andreasgillstrom@gmail.com", "url": "github.com/gillstrom" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && mocha" }, "xo": { "envs": [ "mocha" ] }, "files": [ "index.js" ], "keywords": [ "digit", "digital", "integer", "math", "number", "repeated", "root", "sum" ], "dependencies": { "digit-sum": "^1.0.0", "is-positive": "^3.0.0", "number-is-integer": "^1.0.0", "number-length": "^1.0.0" }, "devDependencies": { "mocha": "^2.2.5", "xo": "*" } }