# console-date

> Simple console date

Latest version **0.0.3** (published 2021-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install console-date
pnpm add console-date
yarn add console-date
bun add console-date
```

Provides the command `console-date`.

## 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.0.3 |
| Published | 2021-02-01 |
| First published | 2021-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | serginij |
| Maintainers | serginij |

## Links

- npm: https://www.npmjs.com/package/console-date
- Repository: https://github.com/serginij/node_course
- Homepage: https://github.com/serginij/node_course#readme
- Issues: https://github.com/serginij/node_course/issues
- npm.io page: https://npm.io/package/console-date

## Dependencies (2)

- [yargs](https://npm.io/package/yargs.md) ^16.2.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.16.1

## Recent versions

- 0.0.3 (latest) — 2021-02-01
- 0.0.2 — 2021-02-01
- 0.0.1 — 2021-02-01

## README

# console-date

## Simple console util that returns date in UTC format.

### Current date & time in ISO:

`cmd current`

### Current year:

`cmd current --year` or `cmd current -y`

### Current month:

`cmd current --month` or `cmd current -m`

### Current date:

`cmd current --date` ore `cmd current -d`

### You can get dates in future or past using `add` and `sub`:

`cmd add -d 2` - date & time in ISO in two days
`cmd sub --month 1` - date & time in ISO one month ago

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