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.
function-timer
Advanced tools
Description: module that makes profileing your application simple.
Getting Started:
npm install function-timer
var functionTimer = require('function-timer')
var timer = new functionTimer({});
methods:
timer.time('id');
params:
id: the text idea for this block of time
return: none
timer.report():
params: none;
return: report object for this timer instance.
ex:
{ timerCall: '3002.40048ms', second: '5001.587941000001ms' }
How it works and example:
timer.time('timerCall')
setTimeout(() => {
timer.time('timerCall')
},3000)
timer.time('second')
setTimeout(() => {
timer.time('second')
console.log(p.report())
},5000)
//timer connects time() calls with the same id for the report.
FAQs
this timer is used for a report of times that you set through your code
The npm package function-timer receives a total of 0 weekly downloads. As such, function-timer popularity was classified as not popular.
We found that function-timer 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.