This package has been deprecated

Author message:

Package renamed to angular-emojify

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

0.1.0 • Public • Published

angular2-emojify

npm version

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

Install

npm install angular2-emojify

EmojifyModule

import { EmojifyModule } from 'angular2-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 🚀

/angular2-emojify/

    Package Sidebar

    Install

    npm i angular2-emojify

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • kamilkisiela