Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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'
We found that 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.