pubnub-time

1.0.0 • Public • Published

pubnub-time

Syncronize local time with PubNub server time.

Installation

$ npm install pubnub-time

Usage

var PubNubTime = require('pubnub-time')
 
// To sync local time with PubNub server time
PubNubTime.init()
 
// To calculate current server time
var serverTime = PubNubTime.currentTime()

License

ISC license.

Readme

Keywords

Package Sidebar

Install

npm i pubnub-time

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • alexkorep