1.1.1 • Published 4 years ago

currency-conversion-lib v1.1.1

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

Currency Conversion Lib

This library provides the micro app for currency conversion from base currency to any target country currency.

Installation

Just run the following:

npm install currency-conversion-lib --save

Choose the version corresponding to your Angular version:

Angularcurrency-conversion-lib
111.x+

Usage

1. Generate ExchangeRate-API access token

For generating token for ExchangeRate-API please refer link https://www.exchangerate-api.com/

2. Import the CurrencyConversionModule:

import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {CurrencyConversionModule} from 'currency-conversion-lib';

@NgModule({
    imports: [
        BrowserModule,
        CurrencyConversionModule.forRoot({
            access_token: '<Your Token to ExchangeRate-API service>'
        })
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

3. Use the component

This is how you include the component:

<sklib-currency-conversion></sklib-currency-conversion>
1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago