1.0.7 • Published 2 years ago

node-exact-time v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago