Skip to content

leonardoquevedox/ngx-from-now-pipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ngx-from-now-pipe

Ngx-from-now-pipe is an ultra simple cnpj validator for Angular.io.

basic-merchandising

Disclaimer: I use this module for personal projects, which means it is designed to fulfill their specific use cases. The code I develop is crafted with reuse and generalization in mind, still, it may or may not fulfill for your requirements. In case it does not, please feel free to submit a pull request, create a fork or contact me at lpachecoquevedo@gmail.com so we can figure something out together. Thank you for reading this!

Installing

$ npm install --save ngx-from-now-pipe

Quickstart

Import

Import ngx-from-now-pipe module in Angular app.

import { NgxFromNowPipe } from 'ngx-from-now-pipe'

(...)

@NgModule({
  (...)
  imports: [
    NgxFromNowPipe
  ]
  (...)
})

Usage

In your template, you can declare the ngx-from-now-pipe as the following:

WIP

And that's all there is about it.

  • Any doubts? Fell free to open an issue.
  • Improvements? Pull requests are always come!
  • Suggestions? Of course: Let's talk!
MIT @ Leonardo Quevedo. 2018.

About

Simple moment "fromNow" wrapper within an Angular.io pipe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published