Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eorzea

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eorzea

A helper library for writing tools for Final Fantasy XIV.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eorzea.js

This is an open-source library for use in writing tools around Final Fantasy XIV.

(Right now, it simply is a toolkit for dealing with in-game time.)

Documentation

Like most nascent JavaScript projects, this code is sparsely documented. As this library grows beyond a single object with three public methods, the author promises to take documentation more seriously.

This library is written exclusively in ES5 (to avoid the need for transpiling), but documentation will generally follow ES6 conventions.

Installation

Install from npm:

$ npm install eorzea

Eorzea Time

The eorzea.Time class provides a tool for calculating the current Eorzea time, as well as representing Eorzea times:

import eorzea from 'eorzea';

var t = new eorzea.Time(5, 30);
t.toString();  // '05:30:00'

The current Eorzea time can be requested with:

import eorzea from 'eorzea';
var now = eorzea.Time.now();

A strftime method is provided on Eorzean timestamps:

import eorzea from 'eorzea';

var t = new eorzea.Time(5, 30);
t.strftime('%I:%M %P');  // '05:30 AM'

Keywords

FAQs

Package last updated on 10 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc