0.1.0 • Published 1 year ago

rupiah-currency v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Currency Formater for Angular

This package works for Angular 11 or later.

Table Of Content

Installation

  1. Use npm to install the package

    npm i rupiah-currency
  2. You could either add into your module imports the CurrencyModule

    import { RupiahCurrencyModule } from 'rupiah-currency';
  @NgModule({
// ...
imports: [
  // ...
  RupiahCurrencyModule
]
})
  ```
  1. you can call it in the component html

    <input rupiahCurrency type="text">

    Note: input tag type must type="text".