# angular-countdown-date-time

> angular countdown by end time

Latest version **0.1.0** (published 2019-07-02) · 0 weekly downloads

## Install

```sh
npm install angular-countdown-date-time
pnpm add angular-countdown-date-time
yarn add angular-countdown-date-time
bun add angular-countdown-date-time
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-07-02 |
| First published | 2019-06-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 91.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sina_mas |
| Keywords | angular, counter, countdown, endTime, angular-countdown-endTime, countdown endtime |

## Links

- npm: https://www.npmjs.com/package/angular-countdown-date-time
- npm.io page: https://npm.io/package/angular-countdown-date-time

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Recent versions

- 0.1.0 (latest) — 2019-07-02
- 0.0.9 — 2019-06-30
- 0.0.8 — 2019-06-30
- 0.0.7 — 2019-06-27
- 0.0.6 — 2019-06-27
- 0.0.5 — 2019-06-27
- 0.0.4 — 2019-06-27
- 0.0.3 — 2019-06-27
- 0.0.2 — 2019-06-27
- 0.0.1 — 2019-06-27

## README

# angular-countdown-date-time

angular countdown by end time

![Image of Yaktocat](http://oi68.tinypic.com/4ixwd3.jpg)


## Installation
To install this library, run:
<pre>
npm install angular-countdown-date-time
</pre>

## usage
add to your module:

```javascript
import { NgModule } from '@angular/core';
...

import { AngularCountdownDateTimeModule } from 'angular-countdown-date-time';
 
@NgModule({
  imports: [
  AngularCountdownDateTimeModule,
  ...
  ]
})
export class YourModule { }
```

in your component define end time: 
```javascript
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.sass']
})

export class AppComponent {
  endTime  = '2019-06-29T00:00:00';
}
```

in your html : 
```html
<lib-angular-countdown-dateTime [endDateBind]="endTime" [dayText]="'day'" [hourText]="'hour'" [minutesText]="'minute'" [secondsText]="'second'"> </lib-angular-countdown-dateTime>
```
for support RTL : 
```html
<div dir="rtl">
<lib-angular-countdown-dateTime [endDateBind]="endTime" [dayText]="'day'" [hourText]="'hour'" [minutesText]="'minute'" [secondsText]="'second'"> </lib-angular-countdown-dateTime>
</div>
```

---
_Source: https://npm.io/package/angular-countdown-date-time · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
