Skip to content

alexkorep/pubnub-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages