timezone-enum
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

NPM version NPM downloads MIT License

timezone-enum

Lightweight timezone enum for JavaScript or TypeScript.

Installing

Package manager

Using npm:

npm install timezone-enum

Using

Once the package is installed, use the default import like so:

import Timezone from 'timezone-enum';

And then you can do this anywhere in the module and expect intellisense to work as you're typing:

const currentTimezone = Timezone['US/Pacific'];

Readme

Keywords

Package Sidebar

Install

npm i timezone-enum

Weekly Downloads

6,199

Version

1.0.4

License

MIT

Unpacked Size

106 kB

Total Files

12

Last publish

Collaborators

  • joropeza