1.0.0 • Published 5 years ago

ng-binary-clock v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

NgBinaryClock

NgBinaryClock is an angular module which displays the system time as a binary clock.

NgBinaryClock

Installation

npm install ng-binary-clock

Dependencies

npm install @angular/core@5.0.0 @angular/common@5.0.0 rxjs@5.5.6

Usage

Import the module in app.module.ts. Instead of importing the module directly, use forRoot() to only add the contained service to the root injector.

import { NgBinaryClockModule } from 'ng-binary-clock';

@NgModule({
  imports: [
    NgBinaryClockModule.forRoot()
  ],
})

Template

<ng-binary-clock></ng-binary-clock>

What is a binary clock?

A binary clock is a clock that displays the time of day in a binary format. Originally, such clocks showed each decimal digit of sexagesimal time as a binary value, but presently binary clocks also exist which display hours, minutes, and seconds as binary numbers. Most binary clocks are digital, although analog varieties exist. True binary clocks also exist, which indicate the time by successively halving the day, instead of using hours, minutes, or seconds. Similar clocks, based on Gray coded binary, also exist. Wikipedia

Binary clock

1.0.0

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago