country-currency-symbol
v1.0.1
Published
A simple angular service to generate Currency Symbol by taking Country Code as argument
Downloads
13
Maintainers
Readme
CurrencySymbol
This library was generated with Angular CLI version 10.2.5.
A simple lightweight library that returns a currency symbol from the country code.
Example
import { Component } from '@angular/core';
import { CurrencySymbolService } from 'currency-symbol';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
currency;
constructor(private currencySymbolService: CurrencySymbolService) {
this.currency = this.currencySymbolService.currencySymbol('GB');
}
}