Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@ladjs/time-require
Advanced tools
Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'
time-require
@ Displays the execution time for Node.js modules loading by hooking and tracing all
require()
calls. This module was inspired by @sindresorhus's time-grunt.
Default usage (non-verbose) showing required modules in loaded order, above 1% treshold
Verbose (all) & sorted usage showing all required modules in sorted order
Install with npm
npm install --save time-require
require()
call in your main module.require("time-require");
--require
preload supported by Liftoff driven CLI modules like gulp.js or Grunt-Nextgulp --require time-require --sorted
gulp
CLI wrapper that automatically preload time-require
.npm install -g gulpt
gulpt build --sorted
Modules loading that take less than 1%
of the total time are hidden to reduce clutter.
To show all the modules use the --verbose
(or --V
) flag on the running CLI.
To sort the modules according to the loading time (longest on top) use the --sorted
(or --s
) flag on the running CLI.
Detailed API documentation can be found in 'doc' folder.
Detailed development documentation can be found in 'doc' folder.
gulpt
usage, remove BitBucket hosting/refsnotifyError
for stream error notification, add seqTask
for sequential task control, fix project.js
config replacing lib/
with src/
run-sequence
for task order control, add gulp-notify
for notification support.travis.yml
file for travis-ci.org build supporttime-require
module to npmFAQs
Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'
The npm package @ladjs/time-require receives a total of 6,201 weekly downloads. As such, @ladjs/time-require popularity was classified as popular.
We found that @ladjs/time-require demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.