15 Javascript Libraries For Formatting Number, Currency, Time & Date

Formatting number, currency, date and time are trickier things to deal with in JavaScript. JavaScript provides a number of options from simple to complex that allows you to format and display numbers as currency. Regardless of which you use, however, the process is not as simple as it may first appear. So in this post we`ve gathered some best Javascript libraries with some handy methods for number, money, currency, phone number, date and time formatting.

Currency Converter

This is jQuery plugin that creates currency conversion widget. This widget is flexible customizable and easily integratable in any site working on different platforms. Your website visitors can convert currencies using latest exchange rates.

Currency Converter

FormatJS

It is a modular collection of JavaScript libraries for internationalization that are focused on formatting numbers, dates, and strings for displaying to people.

FormatJS

Dinero

It makes it easy to create, calculate and format monetary values in JavaScript. You can perform arithmetic operations, extensively parse and format them, check for a number of things to make your own development process easier and safer.

Dinero

Accounting

It is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering. It`s lightweight, fully localisable and has zero dependencies.

accounting

Currency

It was built to work around common floating point issues in javascript with a flexible api.

Currency

Numeral

A javascript library for formatting and manipulating numbers.

Numeral

Walletjs

A little library to handle money amounts.

walletjs

autoNumeric

It is a standalone library that provides live as-you-type formatting for international numbers and currencies.

autoNumeric

CurrencyFormatter

It allows you to format numbers as currencies. It contains 155 currency definitions and 715 locale definitions out of the box. It handles unusually formatted currencies, such as t

CurrencyFormatter

Numbro

numbro is a Javascript library for converting, formatting, and manipulating all your numbers, in more than 30 languages.

Numbro

Libphonenumber

A simpler and smaller rewrite of Google Android`s libphonenumber library: easy phone number parsing and formatting in javascript.

libphonenumber

Moment

Parse, validate, manipulate, and display dates and times in JavaScript.

Moment

Timeago

It is a tiny library used to format date.

Timeago

date-fns

It provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js.

date-fns

Datejs

It is an open source JavaScript Date library for parsing, formatting and processing.

Datejs

Leave a comment

Please be polite. We appreciate that. Your email address will not be published and required fields are marked

This site uses Akismet to reduce spam. Learn how your comment data is processed.