{"repo":"dinerojs/dinero.js","free":true,"listed":false,"github":"https://github.com/dinerojs/dinero.js","clone":"git clone https://github.com/dinerojs/dinero.js.git","description":"Create, calculate, and format money in JavaScript and TypeScript","language":"TypeScript","stars":6789,"topics":["money","monetary","amount","immutable","currency","javascript","typescript"],"license":"MIT","category":"machine-learning","readme_excerpt":"Dinero.js lets you create, calculate, and format money safely in JavaScript and TypeScript. dinerojs.com --- Money is complex, and the primitives of the language aren't enough to properly represent it. Dinero.js is a JavaScript library that lets you express monetary values, but also perform mutations, conversions, comparisons, formatting, and overall make money manipulation easier and safer in your application. ✨ Features - Immutable & pure: every operation returns a new object, no side effects - Type-safe: first-class TypeScript support with full type inference - Tree-shakeable: import only what you use, keep bundles small - Pluggable precision: use number by default or bigint for large amounts - Non-decimal currencies: support for any base, including multi-subdivision currencies - Framework-agnostic: works everywhere JavaScript runs 📦 Install ⚡️ Quick start Dinero objects are minimal. Every function in dinero.js is side-effect free, allowing you only to bundle exactly what you use. Check out the quick start guide on the documentation. 📚 Documentation The documentation lets you learn about all aspects of the library. - Getting started to get up and running quickly with Dinero.js - Core concepts to learn about the underlying principles behind the library - Guides to dig deeper into specific use cases. - API for a comprehensive list of available functions and their parameters. - FAQ for common answers to questions you might have Visit the full documentation to know more. 🤖 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dinerojs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dinerojs/dinero.js/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."}