time-now Returns a timestamp using Performance.now or Date.now Installation $ npm install time-now Install with component(1): $ component install nk-components/time-now API var now = require('time-now'); console.log(now()); License MIT