zipcode-to-timezone

Converts a timezone to a zipcode

Usage no npm install needed!

<script type="module">
  import zipcodeToTimezone from 'https://cdn.skypack.dev/zipcode-to-timezone';
</script>

README

zipcode-to-timezone

Installation

npm install --save zipcode-to-timezone

Usage

var zipcode_to_timezone = require( 'zipcode-to-timezone' );

var tz = zipcode_to_timezone.lookup( '94110' );
console.log( tz ); // America/Los_Angeles

Other info

This project uses the timezone list found here:

https://sourceforge.net/projects/zip2timezone/files/