Skip to main content
Module

x/financial/src/financial.ts

A Zero-dependency TypeScript/JavaScript financial library (based on numpy-financial) for Node.js, Deno and the browser
Latest
import * as financial from "https://deno.land/x/financial@v0.1.3/src/financial.ts";

Enums

When payments are due

Functions

Compute the future value.

Compute the interest portion of a payment.

Return the Internal Rate of Return (IRR).

Calculates the Modified Internal Rate of Return.

Compute the number of periodic payments.

Returns the NPV (Net Present Value) of a cash flow series.

Compute the payment against loan principal plus interest.

Compute the payment against loan principal.

Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate.

Compute the rate of interest per period