# time-to-emoji

> Convert time to Watchface emoji

Latest version **1.0.2** (published 2017-08-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install time-to-emoji
pnpm add time-to-emoji
yarn add time-to-emoji
bun add time-to-emoji
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-08-16 |
| First published | 2017-08-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | gratzl |

## Links

- npm: https://www.npmjs.com/package/time-to-emoji
- Repository: https://github.com/MrAlexand0r/time-to-emoji
- Homepage: https://github.com/MrAlexand0r/time-to-emoji#readme
- Issues: https://github.com/MrAlexand0r/time-to-emoji/issues
- npm.io page: https://npm.io/package/time-to-emoji

## Recent versions

- 1.0.2 (latest) — 2017-08-16
- 1.0.1 — 2017-08-11
- 1.0.0 — 2017-08-09

## README

# Time to Emoji

## Have you ever wanted a time visualized by an emoji? 
If your answer was **yes**, then today is your lucky day!

Now with this package it is possible to parse 
 - hour, minute either as string or integer
 - string in 'HH:MM' format
 - Date

into an clock face emoji! WOAHH!

## Usage

1. Install the package

    `npm install time-to-emoji --save`
1. require the package
    ```js
        var clockface = require('time-to-emoji');
    ```

1. Use the function of your choice

     ### Available Functions:
    ```js
        clockface.time2emoji('HH','MM'); // with leading zeros
        clockface.time2emoji('H','M');
        clockface.time2emoji(H,M);

        Date.prototype.toEmoji();
        // usage:
        new Date().toEmoji();

        clockface.date2emoji(new Date());

        clockface.string2emoji('HH:MM');
    ```
1. # Visualize Time 🕛🕧🕐🕜🕑


### You can find basic tests of this package in **test.js**

Contribution is welcomed 👐

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