generate-timezone-json
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "generate-timezone-json", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"bin": "./index.js", | ||
@@ -5,0 +5,0 @@ "description": "Generate JSON file containing timezones from a tab file or the official IANA database", |
# Generate Timezone JSON | ||
### Installation | ||
`npm i generate-timezone-json` | ||
Run `npm i generate-timezone-json` to install in your current node project | ||
or install globally with `npm i -g generate-timezone-json` | ||
### Usage | ||
@@ -13,9 +15,12 @@ | ||
### 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) | ||
If installed globally, the `npx` is optional. | ||
*Important Note:* 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>` | ||
2. Uniform JSON structure for all sources | ||
3. type definitions | ||
2769
26