Monotonically increasing timestamp.
<img src=https://secure.travis-ci.org/'Dominic Tarr'/monotonic-timestamp.png?branch=master>
This is NOT a accurate representation of the time. Since js only measures time as ms, if you call Date.now() twice quickly, it's possible to get two identical time stamps.
monotonic-timestamp fixes that problem! (crudely)
var timestamp =consoleconsoleconsoleconsoleconsole
subsequent calls to timestamp() are ALWAYS strictly ordered.
My precious bytes! wasted on your timestamp!
pack it into a string!
if you want a constant-length string, you can use monotonic-timestamp-base36
of course, if you are using a binary protocol, it will be cheaper to use the float...
syncronize network time.