nth-harmonic
v1.1.0
Published
Computes nth harmonic number from digamma function.
Maintainers
Readme
nth-harmonic
Computes nth harmonic number with digamma function.

Why
Because it's much faster then casual summing operation for large values of n and it's more precise.
Installation
From NPM
npm install nth-harmonicUsage
import nthHarmonic from 'nth-harmonic' // ES6 OR TYPESCRIPTnthHarmonic($n: number): number