0.0.6 • Published 1 year ago

deadline-maker v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Angular Deadline Pipe

This is an Angular pipe that converts dates of a given format to a deadline format. The deadline format shows the time remaining until the deadline date in a human-readable format.

Getting Started

Instructions on how to get started with the project.

  1. 0.0.5v ------ Angular 14
  2. 0.0.6v ------ Angular 15

Installation

To install the deadline pipe, run the following command in your Angular project:

npm install deadline-maker

Usage

Import the DeadlinePipe module in your Angular application:

import { DeadlineModule } from 'deadline-maker';

@NgModule({
  imports: [
    DeadlineModule
  ]
})

In Your Component:

<p>Deadline: {{ deadline | deadline }}</p>

Input Format

The input date must be a string in the format of YYYY-MM-DD.

Output Format

The output format shows the days remaining until the deadline date in a human-readable format.

For Example:

If the date is pass the Deadline - Overdue If the date is due in 2 days - 2 Days Left

License

This package is released under the ISC License.

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago