Synchronize with the Server's Clock in the Browser

Introduction Sometimes it's useful to know the exact time (within 100 ms) of the clock on the server from within the browser. This can be used to synchronize multiple user's actions with each other, for example. I found a need for this when I created a Pomodoro Technique timer for…

Testing Tools

Read about how I implemented the live star counting on this page. Frameworks Name Stars Browser Node.js Promises? Notes Jasmine yes with Jasmine-Node with Jasmine as Promised Mocha yes yes yes CasperJS yes no QUnit yes with Node-QUnit Intern yes yes yes Nodeunit yes yes Vows no yes Tape…