# easy-datetime

> datetime util

Latest version **0.0.5** (published 2016-03-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install easy-datetime
pnpm add easy-datetime
yarn add easy-datetime
bun add easy-datetime
```

## 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.5 |
| Published | 2016-03-25 |
| First published | 2015-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | qinjia |
| Maintainers | qinjia |
| Keywords | datetime |

## Links

- npm: https://www.npmjs.com/package/easy-datetime
- Repository: https://github.com/hellopao/easy-datetime
- Issues: https://github.com/hellopao/easy-datetime/issues
- npm.io page: https://npm.io/package/easy-datetime

## 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.0.5 (latest) — 2016-03-25
- 0.0.4 — 2016-03-25
- 0.0.3 — 2016-03-25
- 0.0.2 — 2016-03-25
- 0.0.1 — 2015-12-29

## README

## easy-datetime
a datetime util 

### usage

```bash
    npm install easy-datetime
```

### example

```javascript
    var DateTime = require('easy-datetime');
    
    var dateStr = new DateTime().format();
    
    var tommorow = new DateTime().next('date');
    
    var yesterday = new DateTime().prev('date');
    
    var days = new DateTime().countDays();
    
    var str = DateTime.format('yyyy-MM-dd',new Date());
 
```

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