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

tzdata-africa

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tzdata-africa

(Part of) the IANA time zone database as a JSON file

  • 1.0.42
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
266
increased by15.15%
Maintainers
0
Weekly downloads
 
Created
Source

Synopsis

This is (a portion of) the IANA TZ database, represented as JSON. Use this module in combination with timezonecomplete. It is part of a set of similar modules:

  • tzdata
  • tzdata-africa
  • tzdata-antarctica
  • tzdata-asia
  • tzdata-australasia
  • tzdata-backward
  • tzdata-etcetera
  • tzdata-europe
  • tzdata-factory
  • tzdata-northamerica
  • tzdata-southamerica
  • tzdata-backward-utc

This module contains all zones of IANA TZ database file 'africa'.

TZ Database Version

2024b

Use

In Node.JS, to get at the JSON data, simply do:

var jsonData = require('tzdata-africa');

In a browser, use the bundled UMD module provided in tzdata-africa.js.

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>tzdata-africa example</title>
    <script src="./tzdata-africa.js"></script>
    <script>
        function onLoad() {
            var data = tzdataAfrica;
        }
    </script>
</head>
<body onLoad="onLoad()">
</body>
</html>

License

MIT

Zones in This Module

Africa/Abidjan, Africa/Algiers, Africa/Bissau, Africa/Cairo, Africa/Casablanca, Africa/El_Aaiun, Africa/Johannesburg, Africa/Juba, Africa/Khartoum, Africa/Lagos, Africa/Maputo, Africa/Monrovia, Africa/Nairobi, Africa/Ndjamena, Africa/Sao_Tome, Africa/Tripoli, Africa/Tunis, Africa/Windhoek, Atlantic/Cape_Verde, Indian/Mauritius

FAQs

Package last updated on 22 Sep 2024

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