Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

timezoner

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezoner - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json

@@ -15,3 +15,3 @@ {

"homepage": "https://github.com/justin-john/node-timezone",
"version": "0.1.2",
"version": "0.1.3",
"author": {

@@ -18,0 +18,0 @@ "name": "Justin John Mathews",

@@ -40,3 +40,3 @@ node-timezone

You can override the [sensor](https://developers.google.com/maps/documentation/timezone/#RequiredParam) parameter of Google Timezone API with adding an object as last parameter of `getTimeZone` method. The **sensor** defaults to **false**.
You can override the [sensor](https://developers.google.com/maps/documentation/timezone/#RequiredParam) parameter of Google Timezone API with adding an object as last parameter of `getTimeZone` method. The `sensor` defaults to `false`.
```js

@@ -56,2 +56,3 @@ timezoner.getTimeZone(

```
The `sensor` parameter specifies whether the application requesting data is using a sensor (such as a GPS device) to determine the user's location. Accepts true or false.
You can find more details about response and different status of response from [Time Zone Responses](https://developers.google.com/maps/documentation/timezone/#Responses).

@@ -58,0 +59,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc