# @micro-js/clone-date

> Clone a date object

Latest version **1.0.0** (published 2015-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @micro-js/clone-date
pnpm add @micro-js/clone-date
yarn add @micro-js/clone-date
bun add @micro-js/clone-date
```

## 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.0 |
| Published | 2015-12-06 |
| First published | 2015-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | micro-js |

## Links

- npm: https://www.npmjs.com/package/@micro-js/clone-date
- Repository: https://github.com/micro-js/clone-date
- Homepage: https://github.com/micro-js/clone-date#readme
- Issues: https://github.com/micro-js/clone-date/issues
- npm.io page: https://npm.io/package/@micro-js/clone-date

## Recent versions

- 1.0.0 (latest) — 2015-12-06
- 0.1.1 — 2015-12-06
- 0.1.0 — 2015-12-06

## README

# clone-date

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Clone a date object

## Installation

    $ npm install @f/clone-date

## Usage

```js
var cloneDate = require('@f/clone-date')
var date = new Date()
var newDate = cloneDate(date)

date.getTime() === newDate.getTime()
date !== newDate
```

## API

### cloneDate(date)

- `date` - The date object to be cloned

**Returns:** A new date object with the same timestamp as `date`

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/clone-date.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/clone-date
[git-image]: https://img.shields.io/github/tag/micro-js/clone-date.svg
[git-url]: https://github.com/micro-js/clone-date
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/clone-date.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/clone-date

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