Lightweight, simple test to see if an input is an integer or can be converted to one.
import isIntegeric from 'is-integeric';
console.log(isIntegeric(5)); // true
console.log(isIntegeric('5')); // true
console.log(isIntegeric('5.5')); // true, because it can be floored
console.log(isIntegeric('five')); // false