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 🚀

Package Sidebar

Install

npm i angular2-emojify

Weekly Downloads

4

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kamilkisiela