Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bchr02 committed Aug 11, 2015
1 parent dd172b1 commit 29102ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Track the elapsed time since a certain point, like the start of a node script.
````javascript
var epoch = require('epochjs');

// Call start() to set a start time
// Call start() to set (or reset) the start time
epoch.start();

// ...add your javascript code here
Expand All @@ -14,7 +14,8 @@ epoch.start();
console.log(epoch.secElapsed() + ' time has ellapsed');

// or even simpler call log()
// the following will output to the console "5.11 database updated" where 5.11 is the amount of time that has ellapsed.
// the following will output to the console "5.11 database updated" where
// 5.11 is the amount of time that has ellapsed since start().
epoch.log('database updated');

````

0 comments on commit 29102ef

Please sign in to comment.