All Projects β†’ dinerojs β†’ Dinero.js

dinerojs / Dinero.js

Licence: mit
Create, calculate, and format money in JavaScript and TypeScript.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Dinero.js

stockholm
πŸ’΅ Modern Python library for working with money and monetary amounts. Human friendly and flexible approach for development. 100% test coverage + built-in support for GraphQL and Protocol Buffers transports using current best-practices.
Stars: ✭ 26 (-99.51%)
Mutual labels:  money, currency, monetary, amount
bankster
Money Creation Made Easy
Stars: ✭ 30 (-99.43%)
Mutual labels:  money, currency, monetary
react-numeric
A react component for formatted number form fields
Stars: ✭ 30 (-99.43%)
Mutual labels:  money, currency
money
Crystal shard for dealing with money and currency conversion
Stars: ✭ 26 (-99.51%)
Mutual labels:  money, currency
Money
PHP implementation of Fowler's Money pattern.
Stars: ✭ 3,868 (-26.83%)
Mutual labels:  currency, money
django-prices-openexchangerates
openexchangerates.org support for django-prices
Stars: ✭ 33 (-99.38%)
Mutual labels:  money, currency
Guide-to-Swift-Numbers-Sample-Code
Xcode Playground Sample Code for the Flight School Guide to Swift Numbers
Stars: ✭ 92 (-98.26%)
Mutual labels:  money, currency
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (-99.72%)
Mutual labels:  money, currency
binarium
Binarium cryptocurrency is the first one protected from ASICs
Stars: ✭ 14 (-99.74%)
Mutual labels:  money, currency
Vue Numeric
Input field component to display a formatted currency value based on Vue.js
Stars: ✭ 341 (-93.55%)
Mutual labels:  currency, money
swift-currency
Type-safety and algorithms for working with money in Swift.
Stars: ✭ 88 (-98.34%)
Mutual labels:  money, currency
react-local-currency
πŸ’΅ πŸ’΄Shows the price of your services in the customer's currency πŸ’Ά πŸ’·
Stars: ✭ 21 (-99.6%)
Mutual labels:  money, currency
pesa
A JS money lib whose precision goes up to 11 (and beyond).
Stars: ✭ 38 (-99.28%)
Mutual labels:  money, currency
money-parser
Price and currency parsing utility
Stars: ✭ 26 (-99.51%)
Mutual labels:  money, currency
django-concurrency-talk
🎭 Database Integrity in Django: Safely Handling Critical Data in Distributed Systems
Stars: ✭ 49 (-99.07%)
Mutual labels:  money, immutable
Narvalo.NET
Applied functional patterns for C#. Money and Currency types. MVP framework. (Obsolete)
Stars: ✭ 16 (-99.7%)
Mutual labels:  money, currency
nova-money-field
Money Field for Laravel Nova
Stars: ✭ 71 (-98.66%)
Mutual labels:  money, currency
Jsr354 Api
JSR 354 - Money and Currency API
Stars: ✭ 262 (-95.04%)
Mutual labels:  currency, money
currency-converter
πŸ’° Easily convert between 32 currencies
Stars: ✭ 16 (-99.7%)
Mutual labels:  money, currency
Laravel Money
Currency formatting and conversion package for Laravel
Stars: ✭ 261 (-95.06%)
Mutual labels:  currency, money

Dinero.js

Stability: alpha CircleCI NPM

Dinero.js lets you create, calculate, and format money safely in JavaScript and TypeScript.
v2.dinerojs.com/docs


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.

ℹ️ Dinero.js v2 is currently in alpha. For v1, check the v1 branch and docs.

πŸ“¦ Install

npm install dinero.js@alpha

# or

yarn add dinero.js@alpha

⚑️ Quick start

Dinero objects are minimal. Every function in dinero.js is side-effect free, allowing you only to bundle exactly what you use.

import { USD } from '@dinero.js/currencies';
import { dinero, add } from 'dinero.js';

const d1 = dinero({ amount: 500, currency: USD });
const d2 = dinero({ amount: 800, currency: USD });

add(d1, d2);

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.

πŸ‘₯ Contributors

Dinero.js contributors

From v1


Sarah Dayan

Yacine Hmito

Scott Trinh

Rolandas Barysas

Luiz "Bills"

Leonardo Dino

Roman Komarov

Juan Garcia

Freddy Robinson

Andy Burke

Andre Wiggins

David DeSandro

Max KΓΆrlinge

Ilia Ermolin

Kevin Brown

Sean Walker

John Nguyen

Sudarsan Balaji

πŸ“œ License

MIT


Powered by Vercel

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].