Ngx stripper, an Angular pipe to clean up string from any languages construct
| e2e | ||
| example/dev | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| index.ts | ||
| package-lock.json | ||
| package.json | ||
| publishPackage.json | ||
| README.md | ||
| tsconfig.json | ||
| tslint.json | ||
ngx-stripper
Ngx stripper, an Angular pipe to clean up string from any languages construct
Demo
UNAVAILABLE
Installation
Install the library
$ npm install --save ngx-stripper
Usage
Import it in your Angular2 project like a module
-
Declare it in your module
import {Ng2StripperModule} from "ngx-stripper"; @NgModule({ imports: [ Ng2StripperModule ] }) -
Use it in your components
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.