angular-emojify
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

angular-emojify

npm version

Angular Pipe that replaces all :emoji: with the actual emoji

Install

npm install angular-emojify

EmojifyModule

import { EmojifyModule } from 'angular-emojify';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    EmojifyModule
  ],
  bootstrap: [ AppComponent ],
})
export class AppModule {}

EmojifyPipe

@Component({
  // ...
})
class AppComponent() {
  description: string = `It's a :rocket:`;
}
<p> {{ description | emojify }} </p>

Outputs: It's a 🚀

/angular-emojify/

    Package Sidebar

    Install

    npm i angular-emojify

    Weekly Downloads

    29

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    7.32 kB

    Total Files

    9

    Last publish

    Collaborators

    • kamilkisiela