Just wrote extensive documentation (draft) of my port of R nmath to Javascript/Typescript
Cheers Jacob