Skip to content

Lightweight timezone enum for JavaScript or TypeScript

License

Notifications You must be signed in to change notification settings

joropeza/ts-timezone-enum

Repository files navigation

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'];

About

Lightweight timezone enum for JavaScript or TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published