# node-emoji-clock

> 🕞 Time to show time properly 🕞

Latest version **0.1.0** (published 2016-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-emoji-clock
pnpm add node-emoji-clock
yarn add node-emoji-clock
bun add node-emoji-clock
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-06-17 |
| First published | 2016-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alexey Gaziev |
| Maintainers | gazay |
| Keywords | time, emoji, clock |

## Links

- npm: https://www.npmjs.com/package/node-emoji-clock
- Repository: https://github.com/gazay/node-emoji-clock
- Homepage: https://github.com/gazay/node-emoji-clock#readme
- Issues: https://github.com/gazay/node-emoji-clock/issues
- npm.io page: https://npm.io/package/node-emoji-clock

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2016-06-17

## README

# 🕠 node-emoji-clock: It's time to show time 🕠
[![Build Status](https://travis-ci.org/gazay/node-emoji-clock.svg)](https://travis-ci.org/gazay/node-emoji-clock) [![NPM version](https://badge.fury.io/js/node-emoji-clock.svg)](https://www.npmjs.com/package/node-emoji-clock)

Shows time with emoji

<a href="https://evilmartians.com/?utm_source=node-emoji-clock">
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54">
</a>

## Install

```
npm install node-emoji-clock
```

## Usage

With `Date` object:
```js
const clock = require('node-emoji-clock');

const time = new Date();
console.log(time);
// 2016-06-17T20:41:02.705Z

console.log(clock.timeToEmoji(time));
// 🕠

console.log(clock.timeToEmoji(time, { utc: true }));
// 🕣

time.setHours(9);
time.setMinutes(12);

console.log(clock.timeToEmoji(time));
// 🕘

console.log(clock.timeToEmoji(time, { utc: true })); // '
// 🕛
```

With [momentjs](http://momentjs.com/) object:
```js
const clock = require('node-emoji-clock');
const moment = require('moment');

const mTime = moment();
console.log(mTime.toString());
// Fri Jun 17 2016 17:41:02 GMT-0300

console.log(clock.timeToEmoji(mTime));
// 🕠

console.log(clock.timeToEmoji(mTime, { utc: true }));
// 🕣

mTime.hour(9);
mTime.minute(12);

console.log(clock.timeToEmoji(mTime));
// 🕘

console.log(clock.timeToEmoji(mTime, { utc: true }));
// 🕛
```

## License

The MIT License

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