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 🚀

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    21
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    21
  • 0.2.0
    8

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