15.0.2 • Published 1 year ago

ngx-replace v15.0.2

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

NGX-REPLACE

Runtime replace pipe.

Supported version:

Angular 15

Installation

To install this library, run:

npm i ngx-replace

Usage

Import in your Angular app:

// Import ngx-replace
import {NgxReplacePipe} from "ngx-replace";

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        NgxReplacePipe,
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
<p>{{'My name is %name' | ngxReplace: '%name' : 'Mustafa'}}</p>