Feat: created pipe only for strip html; Feat: created example project;

This commit is contained in:
Lorenzo Iovino 2019-05-08 11:21:51 +02:00
parent 30284843fb
commit fd2734d0da
47 changed files with 22064 additions and 0 deletions

View file

@ -1 +1,59 @@
# ngx-stripper
Ngx stripper, an Angular pipe to clean up string from any languages construct
### Demo
UNAVAILABLE
### Installation
Install the library
```sh
$ npm install --save ngx-stripper
```
### Usage
Import it in your Angular2 project like a module
1) Declare it in your module
```sh
import {Ng2StripperModule} from "ngx-stripper";
@NgModule({
imports: [
Ng2StripperModule
]
})
```
2) Use it in your components
```sh
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
----
ISC
**Lorenzo I.**