Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generate-timezone-json

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-timezone-json

Generate JSON file containing timezones from a tab file or the official IANA database

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
58
decreased by-22.67%
Maintainers
1
Weekly downloads
 
Created
Source

Generate Timezone JSON

Installation

npm i generate-timezone-json

Usage

  1. Run: generate-timezone-json to generate timezones.json from official IANA Database,
    • this will generate a file named "timezones.json" with data coming from the official IANA database
  2. Run: generate-timezone-json <filename> to generate timezones.json from a TAB file,
    • for example, using a file named "zone.tab": generate-timezone-json zone.tab

Gotchas

  1. Note that the structure of the generated JSON file will be different depending on the source (i.e, zone.tab or the IANA timezones database)

Planned features (not yet implemented)

  1. Specify an output directory with option --outDir: generate-timezone <filename> --outDir <directory>

Keywords

FAQs

Package last updated on 19 Sep 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc