3.0.0 • Published 4 years ago

eorzea-time v3.0.0

Weekly downloads
14
License
MIT
Repository
github
Last release
4 years ago

eorzea-time CircleCI

:clock3: A clock of the Eorzea time

Install

$ npm install --save eorzea-time

or

$ yarn add eorzea-time

or

Download the eorzea-time.min.js from releases page

Usage

HTML

<!-- ... -->
<dl>
  <dt>eorzea time
  <dd><span id="eorzea-time"></span>
</dl>
<script src="eorzea-time.min.js"></script>
<script>
(function() {
  'use strict';

  var result = document.getElementById('eorzea-time');

  (function timer() {
    setTimeout(function() {
      var eorzeaTime = new EorzeaTime();
      result.textContent = eorzeaTime.toString();
    }, 1000 / 60);
  })();
})();
</script>
<!-- ... -->

Node

var EorzeaTime = require('eorzea-time');

var eorzeaTime = new EorzeaTime();
console.log(eorzeaTime.toString());

ES2015

import EorzeaTime from 'eorzea-time';

const eorzeaTime = new EorzeaTime();
console.log(eorzeaTime.toString());

License

MIT

FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd.
FINAL FANTASY XIV (c) 2010-2016 SQUARE ENIX CO., LTD. All Rights Reserved.
3.0.0

4 years ago

2.0.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago