{"repo":"lmammino/financial","free":true,"listed":false,"github":"https://github.com/lmammino/financial","clone":"git clone https://github.com/lmammino/financial.git","description":"A Zero-dependency TypeScript/JavaScript financial library (based on numpy-financial) for Node.js, Deno and the browser","language":"TypeScript","stars":726,"topics":["financial","mortgage","numpy-financial","numpy","typescript","javascript","nodejs","node","zero-dependency","deno"],"license":"MIT","category":"dev-tools","readme_excerpt":"Financial A Zero-Dependency TypeScript / JavaScript financial utility library inspired by numpy-financial that can be used on Node.js , Deno , Bun and the browser . It does support the same functionality offered by numpy-financial but it only supports scalar JavaScript number values (NO numpy-like array values) and it does NOT support arbitrary-precision signed decimal numbers (such as decimal.js, big.js or bignumber.js). 📖 API DOCS 📖 : financialjs.netlify.app Install With npm : Or, with yarn : Example usage Module formats This library exports its functionality using different module formats. Commonjs or, leveraging destructuring An optimized Commonjs for browsers can be imported directly from the web: Note : make sure you replace the x.y.z with the correct version you want to use. ESM (EcmaScript Modules) Also working with Typescript There's no default export in the ESM implementation, so you have to explicitely import the functionality you need, one by one. Use with Deno Make sure you specify the version you prefer in the import URL: Implemented functions and Documentation Click on the function name to get the full documentation for every function, or check out the full programmatic documentation at financialjs.netlify.app. - [X] fv() : Future Value (since v0.0.12) - [X] pmt() : Total payment (since v0.0.12) - [X] nper() : Number of period payments (since v0.0.12) - [X] ipmt() : Interest portion of a payment (since v0.0.12) - [X] ppmt() : Payment against loan principal (s","default_branch":null,"files":null,"tree":[],"storefront":"/r/lmammino","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lmammino/financial/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}