ngx-kor-time-ago
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

NgxTimeAgoKor

NPM version Libraries.io for releases Gitter

Angular time pipe kor version!

This project was generated with Angular CLI version 1.6.8.

Installation

npm install --save ngx-kor-time-ago

How to use

example

app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { TimeAgoKorModule } from "ngx-kor-time-ago";
    
@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        TimeAgoKorModule
    ],
    providers: [],
    bootstrap: [AppComponent]
})  
export class AppModule { }

.ts

export class AppComponent {  
    datetime = '2018-01-08 11:12:14';  
}  

.html

<div>{{datetime | timeAgoKor}}</div>  

Package Sidebar

Install

npm i ngx-kor-time-ago

Weekly Downloads

2

Version

0.1.14

License

MIT

Unpacked Size

34.3 kB

Total Files

17

Last publish

Collaborators

  • lyasee