1.0.7 • Published 1 year ago

node-exact-time v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

node-exact-time

const nodeExactTime = require('node-exact-time');
nodeExactTime.getNanoTime();
await nodeExactTime.nextTick();
await nodeExactTime.immediate();
await nodeExactTime.sleep(ms);

const timer = nodeExactTime.timer({name:'Sample Timer', delay:10, fineRate:1});
while(true){
  const nanoTime = await timer.wait();
  console.log(new Date().getTime(), nanoTime);
}

const benchmark = nodeExactTime.benchmark();
1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago