https://github.com/snood1205/ng-pell
https://github.com/snood1205/ng-pell
angular angular2 angular4 ng-pell pell
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/snood1205/ng-pell
- Owner: snood1205
- License: other
- Created: 2017-07-13T13:56:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-30T14:18:40.000Z (over 2 years ago)
- Last Synced: 2025-10-21T01:44:40.610Z (8 months ago)
- Topics: angular, angular2, angular4, ng-pell, pell
- Language: TypeScript
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ng-pell
## What is this
It's a port of [pell](https://github.com/jaredreich/pell) for Angular 4+.
## How do I use it
In a component like this
./example/example.component.ts
```typescript
import { Component } from '@angular/core';
@Component({
selector: 'example-component',
template: ``
})
export class ExampleComponent {
html: string
}
```
and it must be included in the respective module like this
./example/example.module.ts
```typescript
import {BrowserModule} from '@angular/platform-browser'
import {NgModule} from '@angular/core'
import {ExampleComponent} from './example.component'
import {NgPellModule} from 'ng-pell'
@NgModule({
declarations: [
ExampleComponent
],
imports: [
BrowserModule,
NgPellModule
],
providers: [],
bootstrap: [ExampleComponent]
})
export class ExampleModule {}
```
## Installation
It can be added to your project like this
```bash
yarn add ng-pell
```