Socket
Socket
Sign inDemoInstall

ember-currencies-and-format-money

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-currencies-and-format-money

list of currencies and format given money amount according to the currency.


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

ember-currencies-and-format-money

npm version Build Status Ember Observer Score Dependency Status devDependency Status Code Climate

ember-currencies-and-format-money is an addon that enables you format money amounts in your Ember.js application.

Installation

cd your-project-directory
ember install ember-currencies-and-format-money

Usage

You can import formatMoneyAmountByCurrency function and use it by passing amount, currencyValue and currencyHidden parameters.

import { formatMoneyAmountByCurrency } from 'ember-currencies-and-format-money/format-amount';

let amount = 1550;
let currencyValue = 'USD';
let currencyHidden = false;
let result = formatMoneyAmountByCurrency(amount, currencyValue, currencyHidden);
console.log(result); // $15.50

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 27 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc