JSPM

timezone-enum

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9461
  • Score
    100M100P100Q167356F
  • License MIT

Lightweight timezone enum for JavaScript or TypeScript.

Package Exports

  • timezone-enum
  • timezone-enum/dist/index.js
  • timezone-enum/src/timezones.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (timezone-enum) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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