# Stardate Converter · HovpoH MughwI' [![NPM version](https://img.shields.io/npm/v/stardate-converter.svg)](https://npmjs.com/package/stardate-converter) [![Build Status](https://travis-ci.org/zeroturnaround/stardate-converter.svg?branch=master)](https://travis-ci.org/zeroturnaround/stardate-converter)

**Stardate Converter (HovpoH MughwI')** is a JavaScript library for converting common date to Star Trek stardate (Hov Trek hovpoh).

## Install · Jom

```
npm install stardate-converter --save
```

## Usage

```js
import stardate from "stardate-converter";

console.log(stardate(new Date(2017, 9, 24)));
```

Output:

```
-305189.04
```

## License · Chaw'

[MIT](https://github.com/zeroturnaround/stardate-converter/blob/master/LICENSE)
