ngx-replace

15.0.2 • Public • Published

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>

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ngx-replace

      Weekly Downloads

      3

      Version

      15.0.2

      License

      MIT

      Unpacked Size

      2.7 kB

      Total Files

      8

      Last publish

      Collaborators

      • mustafaer