https://github.com/thisloke/ngx-stripper
Ngx stripper, an Angular pipe to clean up string from any languages construct
https://github.com/thisloke/ngx-stripper
Last synced: about 1 year ago
JSON representation
Ngx stripper, an Angular pipe to clean up string from any languages construct
- Host: GitHub
- URL: https://github.com/thisloke/ngx-stripper
- Owner: thisloke
- License: mit
- Created: 2019-05-08T08:06:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-09T09:59:18.000Z (about 7 years ago)
- Last Synced: 2025-05-29T12:25:21.658Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 107 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```sh
$ npm install --save ngx-stripper
```
### Usage
Import it in your Angular2 project like a module
1) Declare it in your module
```sh
import {NgxStripperModule} from "ngx-stripper";
@NgModule({
imports: [
NgxStripperModule
]
})
```
2) Use it in your components
```sh
import {Component} from '@angular/core';
@Component({
selector: 'label',
template: `
{{text | stripper:'html'}}
`
})
export class LabelComponent {}
```
### Development
Want to contribute? Great!
Simply, clone the repository!
License
----
MIT
**Lorenzo I.**