Please consider following this project's author, Valliappan Thenappan, and consider starring the project to show your :heart: and support.
Install with npm:
$ npm install --save armstrongnumber
Works with numbers.
const isArmStrongNumber = require('armstrongnumber'); console.log(isArmStrongNumber(153)); //=> true console.log(isArmStrongNumber(1)); //=> true console.log(isArmStrongNumber(2)); //=> false console.log(isArmStrongNumber(1534)); //=> false
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
To generate the readme, run the following command:
$ npm install -g verbose/verb#dev verb-generate-readme && verb
This file was generated by verb-generate-readme, v0.6.0, on Jun 21, 2020.