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