0.0.3 • Published 5 years ago

ngx-stripper v0.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

ngx-stripper

Ngx stripper, an Angular pipe to clean up string from any languages construct

Demo

https://next.plnkr.co/plunk/DGbwiDGvvMz8LBcg

Installation

Install the library

$ npm install --save ngx-stripper

Usage

Import it in your Angular2 project like a module

1) Declare it in your module

```bash
import {NgxStripperModule} from "ngx-stripper";
@NgModule({
  imports: [
    NgxStripperModule
  ]
})

```

2) Use it in your components

```bash

import {Component} from '@angular/core';

@Component({
  selector: 'label',
  template: `<p>{{text | stripper:'html'}}<p>`
})

export class LabelComponent {}
```

Development

Want to contribute? Great! Simply, clone the repository!

License

MIT

Lorenzo I.