time-pack

1.0.3 • Public • Published

time-pack

npm version License: MIT

Overview

time-pack is an ultra-simplified way to handle dates and times.


Features

  • Feature 1: Gets a current date string for the four time zones in the USA: Pacific, Mountain, Central, Eastern.

Installation

Install the package using npm:

npm install time-pack

Usage

const t = require("time-pack");

console.log(t.GetCurrentDate("Eastern"));

Or:

const { GetCurrentDate } = require("time-pack");

console.log(GetCurrentDate("Eastern"));

Output will be today's current date according to Eastern time.

Readme

Keywords

none

Package Sidebar

Install

npm i time-pack

Weekly Downloads

34

Version

1.0.3

License

ISC

Unpacked Size

7.2 kB

Total Files

10

Last publish

Collaborators

  • ghkegel