Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shinnn/tz-ids

An array of time zone IDs
https://github.com/shinnn/tz-ids

Last synced: 26 days ago
JSON representation

An array of time zone IDs

Awesome Lists containing this project

README

        

# tz-ids

[![npm version](https://img.shields.io/npm/v/tz-ids.svg)](https://www.npmjs.com/package/tz-ids)
[![Github Actions](https://action-badges.now.sh/shinnn/tz-ids)](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/results/shinnn/tz-ids)

An array of [time zone IDs](https://en.wikipedia.org/wiki/Tz_database#Names_of_time_zones)

```javascript
[
'Africa/Abidjan',
'Africa/Accra',
'Africa/Addis_Ababa',
'Africa/Algiers',
'Africa/Asmara',
'Africa/Bamako',
'Africa/Bangui',
'Africa/Banjul',
'Africa/Bissau',
'Africa/Blantyre',
'Africa/Brazzaville',
'Africa/Bujumbura',
'Africa/Cairo',
'Africa/Casablanca',
'Africa/Ceuta',
'Africa/Conakry',
'Africa/Dakar',
//...
]
```

## Installation

[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).

```
npm install tz-ids
```

## API

```javascript
import tzIds from 'tz-ids';
```

### tzIds

Type: `string[]`

IDs are sorted in alphabetical order.

## License

[BSD Zero Clause License](./LICENSE) © 2019 Watanabe Shinnosuke