New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

timezone-compare

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezone-compare - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

assets/timezone-compare-cli.gif

2

package.json
{
"name": "timezone-compare",
"version": "1.0.10",
"version": "1.0.11",
"bin": {

@@ -5,0 +5,0 @@ "timezone-compare": "./dist/cli.js"

# `$ timezone-compare`
## Screenshot
:zap: Cli tool to get a list of times across 2 different timezones for easy checking.
![Screenshot](https://raw.githubusercontent.com/bhargav175/timezone-compare/master/assets/screenshot_1.png "Screenshot")
## Screenshot-cli
![Screenshot](https://raw.githubusercontent.com/bhargav175/timezone-compare/master/assets/timezone-compare-cli.gif "Screenshot")
## :cloud: Installation
```bash
npm install -g timezone-compare
## :clipboard: Usage - ES6
```javascript
import TimezoneCompare from 'timezone-compare';
const tz = new TimezoneCompare('IST', 'GMT');
const {times} = tz.getTimesAsStrings();
// [[IST times as strings][GMT times as strings]]
//const {times} = tz.getTimesAsMoments(); //If you need a 2d array of moments
// [[IST times as moments][GMT times as moments]]
```
## Usage
## :cloud: Usage - cli
``` bash
$ npm install -g timezone-compare
$ timezone-compare

@@ -18,0 +28,0 @@ ? Enter FROM timezone (America/New_York) IST

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