Socket
Socket
Sign inDemoInstall

timezone-enum

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    timezone-enum

Lightweight timezone enum for JavaScript or TypeScript.


Version published
Weekly downloads
6.8K
decreased by-7.61%
Maintainers
1
Install size
103 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 20 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc