0.3.3 • Published 6 years ago

since-app-start v0.3.3

Weekly downloads
9,113
License
MIT
Repository
github
Last release
6 years ago

since-app-start

Get time passed since you've started node.js process.

Usage

// 1. Set global.appStartTime before you load any node.js modules.
global[Symbol.for('start-time')] = Date.now()

// 2. The following line would return a prepared for output string.
require('since-app-start').addEntry('Loaded modules')

License

MIT (c) 2016 Paul Miller (http://paulmillr.com)

0.3.3

6 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago