Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shinnn/tz-ids
- Owner: shinnn
- License: 0bsd
- Created: 2016-06-17T11:37:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T14:26:34.000Z (over 5 years ago)
- Last Synced: 2024-10-11T12:25:25.254Z (about 1 month ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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