ng-binary-clock

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ng-binary-clock

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

14.1 kB

Total Files

9

Last publish

Collaborators

  • bmacher