# date-beautify

> A node.js package for Abhay Kumar's excellent date beautify function.

Latest version **2.0.0** (published 2019-07-31) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2.0.0 |
| Published | 2019-07-31 |
| First published | 2019-07-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Abhay |
| Maintainers | abhaykst |

## Links

- npm: https://www.npmjs.com/package/date-beautify
- npm.io page: https://npm.io/package/date-beautify

## Recent versions

- 2.0.0 (latest) — 2019-07-31
- 1.1.1 — 2019-07-31
- 1.1.0 — 2019-07-31
- 1.0.4 — 2019-07-30
- 1.0.3 — 2019-07-30
- 1.0.2 — 2019-07-30
- 1.0.1 — 2019-07-30
- 1.0.0 — 2019-07-30

## README

# date-beautify

date formatter for javascript


## Introduction

This is date-beautify, its allows you to to beautify your date.

# Installation

```cli 
 npm i date-beautify
 ```


## Example

```javascript
const datebeautify = require('date-beautify');


datebeautify.today()               // it will return current date with YYYY-MM-DD format

datebeautify.format("YYYY-MM-DD")  // dateFormat('2019-07-30',false,false) 1st arg date 2nd arg weekdays show 3rd show time result =Tuesday, July 30, 2019 at 12:29:42 PM if both are true

datebeautify.display("YYYY-MM-DD")  // Output based on provided date I.E 5 seconds ago., 2 minutes 31 seconds ago., 1 hours 14 minutes 43 seconds ago. or May 31, 2019

datebeautify.display("YYYY-MM-DD hh:mm:ss") // // Output based on provided date I.E 5 seconds ago., 2 minutes 31 seconds ago., 1 hours 14 minutes 43 seconds ago. or May 31, 2019 at 12:32:28 PM

```


## Browser Support

It should work in all browsers

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