{"_id":"time-require","_rev":"25-55d80fa484fe81febf5399d5b5d42054","name":"time-require","time":{"modified":"2022-06-27T06:44:41.981Z","created":"2014-04-10T11:32:58.366Z","0.0.1":"2014-04-10T11:32:58.366Z","0.1.0":"2014-04-10T11:47:46.199Z","0.1.1":"2014-04-10T18:01:23.802Z","0.1.2":"2014-04-25T06:11:36.347Z"},"maintainers":[{"name":"cyparu","email":"oss@jaguard.com"},{"name":"jbnicolai","email":"jappelman@xebia.com"}],"dist-tags":{"latest":"0.1.2"},"description":"Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'","readme":"# `time-require` @ [![Jaguard OSS 100%](http://img.shields.io/badge/Jaguard_OSS-100%-red.svg)](http://oss.jaguard.com) [![Built with gulp.js](http://img.shields.io/badge/built%20with-gulp.js-red.svg)](http://gulpjs.com)\n\n> Displays the execution time for Node.js modules loading by hooking and tracing all `require()` calls.\nThis module was inspired by [@sindresorhus](https://twitter.com/sindresorhus)'s [time-grunt](https://github.com/sindresorhus/time-grunt).\n\n## Project status\n- NPM version: [![NPM version](https://badge.fury.io/js/time-require.svg)](https://www.npmjs.org/package/time-require)\n- NPM downloads: [![NPM downloads](http://img.shields.io/npm/dm/time-require.svg)](https://www.npmjs.org/package/time-require)\n- GitHub release: [![GitHub Release](http://img.shields.io/github/release/jaguard/time-require.svg)](https://www.npmjs.org/package/time-require)\n- Travis-CI build: [![Build Status](http://img.shields.io/travis/jaguard/time-require.svg)](http://travis-ci.org/jaguard/time-require)\n- Drone.io build: [![Build Status](https://drone.io/github.com/jaguard/time-require/status.png)](https://github.com/jaguard/time-require)\n- Dependencies: [![Dependencies status](https://david-dm.org/jaguard/time-require/status.svg?theme=shields.io)](https://david-dm.org/jaguard/time-require#info=dependencies)\n- Dev Dependencies: [![Dev Dependencies status](https://david-dm.org/jaguard/time-require/dev-status.svg?theme=shields.io)](https://david-dm.org/jaguard/time-require#info=devDependencies)\n\nDefault usage (non-verbose) showing required modules in loaded order, above 1% treshold\n![default](doc/time_require_default.png)\n\nVerbose (all) & sorted usage showing all required modules in sorted order\n![verbose-sorted](doc/time_require_verbose_sorted.png)\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/time-require)\n\n```\nnpm install --save time-require\n```\n\n## Usage\n\n1. Embeded usage, generally as first `require()` call in your main module.\n```js\nrequire(\"time-require\");\n```\n2. External usage with `--require` preload supported by [Liftoff](https://github.com/tkellen/node-liftoff) driven CLI modules like [gulp.js](http://gulpjs.com/) or [Grunt-Next](https://github.com/gruntjs/grunt-next)\n```\ngulp --require time-require --sorted\n```\n3. If you're using [gulp.js](http://gulpjs.com/), use instead [gulpt](https://github.com/jaguard/gulpt), a `gulp` CLI wrapper that automatically preload `time-require`.\n```\nnpm install -g gulpt\ngulpt build --sorted\n```\n\n## Display layout\n\nModules loading that take less than `1%` of the total time are hidden to reduce clutter.\nTo show **all** the modules use the `--verbose` (or `--V`) flag on the running CLI.\nTo **sort** the modules according to the loading time (longest on top) use the `--sorted` (or `--s`) flag on the running CLI.\n\n## Documentation\n\nDetailed API documentation can be found in ['doc'](doc/api.md) folder.\n\n## Development\n\nDetailed development documentation can be found in ['doc'](doc/dev.md) folder.\n\n## License\n\n[MIT](https://github.com/jaguard/time-require/raw/master/LICENSE) &copy; [Jaguard OSS](http://oss.jaguard.com)\n\n## Changelog\n\n- v0.1.2 (2014.04.20)\n\t* README.md: add NPM downloads and GitHub release, add `gulpt` usage, remove BitBucket hosting/refs\n\t* package.json: update dependencies\n\t* .npmignore: remove all development-related files from NPM (clone the repo instead)\n- v0.1.1 (2014.04.10)\n\t* gulpfile.js: add `notifyError` for stream error notification, add `seqTask` for sequential task control, fix `project.js` config replacing `lib/` with `src/`\n\t* README.md: detail project hosting [@BitBucket](https://bitbucket.org/jaguard/time-require) & mirror [@GitHub](https://github.com/jaguard/time-require).\n\t* LICENSE.md renamed to LICENSE to keep it as a simple text file\n\t* package.json: set the [GitHub](https://github.com/jaguard/time-require) mirror as repository, add `run-sequence` for task order control, add `gulp-notify` for notification support\n- v0.1.0 (2014.04.10)\n\t+ Added `.travis.yml` file for travis-ci.org build support\n\t+ Published `time-require` module to [npm](https://www.npmjs.org/package/time-require)\n\t* Include screenshoots as absolute links\n- v0.0.1 (2014.03.10)\n\t+ Initial release","versions":{"0.1.0":{"name":"time-require","version":"0.1.0","description":"Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'","url":"https://bitbucket.org/jaguard/time-require","homepage":"https://bitbucket.org/jaguard/time-require","keywords":["require","measure","time","profile"],"author":{"name":"Jaguard OSS","email":"oss@jaguard.com","url":"http://oss.jaguard.com"},"repository":{"type":"git","url":"git://bitbucket.org/jaguard/time-require"},"bugs":{"url":"https://bitbucket.org/jaguard/time-require/issues"},"main":"src/timeRequire.js","scripts":{"start":"gulp watch","test":"gulp test"},"dependencies":{"chalk":"^0.4.0","text-table":"^0.2.0","date-time":"^0.1.0","pretty-ms":"^0.1.0"},"devDependencies":{"gulp":"~3.6.0","gulp-util":"~2.2.14","gulp-load-plugins":"~0.5.0","gulp-clean":"~0.2.4","gulp-cached":"~0.0.3","gulp-jshint":"~1.5.2","gulp-jsonlint":"~0.0.3","gulp-if":"~0.0.5","gulp-match":"~0.0.2","gulp-jscs":"~0.4.0","gulp-docco":"~0.0.3","gulp-markdown":"~0.1.2","gulp-markdown-pdf":"~0.2.0","gulp-jsdoc":"~0.1.2","gulp-jasmine":"~0.2.0","jshint-stylish":"~0.1.5"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/jaguard/time-require/raw/master/LICENSE.md"}],"engines":{"node":">= 0.10.0"},"_id":"time-require@0.1.0","dist":{"shasum":"0b18011d0affeecbc16901e24db88ce7ee07e8bf","tarball":"https://registry.npmjs.org/time-require/-/time-require-0.1.0.tgz","integrity":"sha512-gCUtyMePGSsFUztaquWlANWkZxjczuaHirhPNFTAbUnxTLOcLud+geiruIqX+ukLu61htf7OJIE9rKVAijZfcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdrHrdUtUc75CPeKvfDh6z8GuU4iPzVGjrf6k1MuNhBAiAw+4gX5VsgAuqeGdRCEVfwI+uYMs8A+UCYHowrGvFtlg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jaguard","email":"oss@jaguard.com"},"maintainers":[{"name":"jaguard","email":"oss@jaguard.com"}]},"0.1.1":{"name":"time-require","version":"0.1.1","description":"Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'","homepage":"https://bitbucket.org/jaguard/time-require","keywords":["require","measure","time","profile"],"author":{"name":"Jaguard OSS","email":"oss@jaguard.com","url":"http://oss.jaguard.com"},"repository":{"type":"git","url":"git://github.com/jaguard/time-require"},"bugs":{"url":"https://bitbucket.org/jaguard/time-require/issues"},"main":"src/timeRequire.js","scripts":{"start":"gulp watch","test":"gulp test"},"dependencies":{"chalk":"^0.4.0","text-table":"^0.2.0","date-time":"^0.1.0","pretty-ms":"^0.1.0"},"devDependencies":{"gulp":"~3.6.0","gulp-util":"~2.2.14","gulp-load-plugins":"~0.5.0","run-sequence":"~0.3.6","gulp-clean":"~0.2.4","gulp-cached":"~0.0.3","gulp-jshint":"~1.5.2","gulp-jsonlint":"~0.0.3","gulp-if":"~0.0.5","gulp-match":"~0.0.2","gulp-jscs":"~0.4.0","gulp-docco":"~0.0.3","gulp-markdown":"~0.1.2","gulp-markdown-pdf":"~0.2.0","gulp-jsdoc":"~0.1.2","gulp-jasmine":"~0.2.0","gulp-notify":"~1.2.5","jshint-stylish":"~0.1.5"},"licenses":[{"type":"MIT","url":"https://bitbucket.org/jaguard/time-require/raw/master/LICENSE"}],"engines":{"node":">= 0.10.0"},"_id":"time-require@0.1.1","dist":{"shasum":"deca7ce8ebe1c62e75fbb430fe0919228e9fe9b0","tarball":"https://registry.npmjs.org/time-require/-/time-require-0.1.1.tgz","integrity":"sha512-OFO/tDM/eLrJTxTf96qvUPy6OEi4fCvD5gGydif4MFX52YUMAcLDoVAayLIMrAb0MNJdeKbsk38KF1kdG0XZdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOrTY90BUGgZ5wPsqr31H8DR0AdtURoio/UhJ/QBMs8QIgLV5AqtMfUTTyS5H76RGJR9/rUDMotBZ/9JTKBMzOtmo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jaguard","email":"oss@jaguard.com"},"maintainers":[{"name":"jaguard","email":"oss@jaguard.com"}]},"0.1.2":{"name":"time-require","version":"0.1.2","description":"Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'","homepage":"https://github.com/jaguard/time-require","keywords":["require","measure","time","profile"],"author":{"name":"Jaguard OSS","email":"oss@jaguard.com","url":"http://oss.jaguard.com"},"repository":{"type":"git","url":"git://github.com/jaguard/time-require"},"bugs":{"url":"https://github.com/jaguard/time-require/issues"},"main":"src/timeRequire.js","scripts":{"start":"gulp watch","test":"gulp test"},"dependencies":{"chalk":"^0.4.0","text-table":"^0.2.0","date-time":"^0.1.1","pretty-ms":"^0.2.1"},"devDependencies":{"gulp":"~3.6.0","gulp-util":"~2.2.14","gulp-load-plugins":"~0.5.0","run-sequence":"~0.3.6","gulp-clean":"~0.2.4","gulp-cached":"~0.0.3","gulp-jshint":"~1.5.2","gulp-jsonlint":"~0.0.3","gulp-if":"~1.0.0","gulp-match":"~0.0.2","gulp-jscs":"~0.4.0","gulp-docco":"~0.0.4","gulp-jsdoc":"~0.1.4","gulp-markdown":"~0.1.2","gulp-markdown-pdf":"~0.2.0","gulp-jasmine":"~0.2.0","gulp-notify":"~1.2.5","jshint-stylish":"~0.1.5"},"licenses":[{"type":"MIT","url":"https://github.com/jaguard/time-require/raw/master/LICENSE"}],"engines":{"node":">= 0.10.0"},"_id":"time-require@0.1.2","dist":{"shasum":"f9e12cb370fc2605e11404582ba54ef5ca2b2d98","tarball":"https://registry.npmjs.org/time-require/-/time-require-0.1.2.tgz","integrity":"sha512-IqcSpa1sVNleRbC9eHnN7p7vwEHNmsjsXUDqjlnvo4+2VLJ7/gIY2XACTBuRhMB4weYbDYKsR3av2ySykRhDIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKNDN5IPBxCJ+mRgGmDNZX6hKEb3WspuRSqNhIlZN3EAiACSY5WxU7mnR0T77wPWWcgd11Ur/Wg2lxdEXD+EfB6Mw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jaguard","email":"oss@jaguard.com"},"maintainers":[{"name":"jaguard","email":"oss@jaguard.com"}]}},"homepage":"https://github.com/jaguard/time-require","keywords":["require","measure","time","profile"],"repository":{"type":"git","url":"git://github.com/jaguard/time-require"},"author":{"name":"Jaguard OSS","email":"oss@jaguard.com","url":"http://oss.jaguard.com"},"bugs":{"url":"https://github.com/jaguard/time-require/issues"},"readmeFilename":"README.md","users":{"mswanson1524":true,"mtscout6":true,"stringparser":true,"cristiandouce":true,"vitre":true,"djch":true,"zckrs":true,"devalias":true,"chocolateboy":true,"sunsean":true,"shuoshubao":true,"balazserdos":true}}