Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 451 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 451 Bytes

Self hosted tz-lookup server

A tz-lookup HTTP server.

Install

npm install

Running

Start the server:

node tz-lookup-server.js

Use environment variables PORT and IP for different port/host. F.e.:

PORT=1337 node tz-lookup-server.js

Query

curl -s 'http://localhost:5266/?lat=42.7235&lon=-73.6931'

License

Released under the WTFPL version 2.