Using npm:
$ npm i nice-numbers
checkComposite(number: number) => boolean
checkCube(number: number) => boolean
checkEven(number: number) => boolean
Factorial https://en.wikipedia.org/wiki/Factorial
checkFactorial(number: number) => boolean
checkFibonacci(number: number) => boolean
checkNegative(number: number) => boolean
checkOdd(number: number) => boolean
checkPrime(number: number) => boolean
checkPositive(number: number) => boolean
checkSquare(number: number) => boolean
cubeSequence(start?: number, length?: number) => number[]
cubeSequence(start?: number, length?: number) => number[]
evenSequence(start?: number, length?: number)
Factorial http://oeis.org/A000142
factorialSequence(start?: number, length?: number)
Fibonacci http://oeis.org/A000045
fibonacciSequence(start?: number, length?: number)
Natural http://oeis.org/A000027
naturalSequence(start?: number, length?: number)
oddSequence(start?: number, length?: number)
Powers of two https://oeis.org/A000079
powers2Sequence(start?: number, length?: number)
Square http://oeis.org/A000290
squareSequence(start?: number, length?: number)
starSequence(start?: number, length?: number)
Triangular https://oeis.org/A000217
triangularSequence(start?: number, length?: number)