# epoch-cli

> Command line utility to show/convert from epoch time

Latest version **1.0.2** (published 2018-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install epoch-cli
pnpm add epoch-cli
yarn add epoch-cli
bun add epoch-cli
```

Provides the command `epoch`.

## 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 | 2018-09-13 |
| First published | 2018-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex McKenzie |
| Maintainers | mckalexee |
| Keywords | epoch, cli |

## Links

- npm: https://www.npmjs.com/package/epoch-cli
- Repository: https://github.com/mckalexee/epoch-cli
- Homepage: https://github.com/mckalexee/epoch-cli#readme
- Issues: https://github.com/mckalexee/epoch-cli/issues
- npm.io page: https://npm.io/package/epoch-cli

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-09-13
- 1.0.1 — 2018-09-13
- 1.0.0 — 2018-09-13

## README

# Epoch CLI
This is a command line tool to show the current epoch time, pretty print epoch time, or parse a date string to epoch time.

## Installation

`$ npm i -g epoch-cli`

## Usage

Print the current epoch time:
```
$ epoch
1536852063
```
Pretty print the date from epoch time:
```
$ epoch 1536852063
2018-9-13 10:21:03
```
Print the epoch time from a date string:
```
$ epoch "2018/9/13 10:35:19"
1536852919
```

## Testing
Requires bash
```
$ npm test
```

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