
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@coffeekraken/s-bench
Advanced tools
{{#> layout-readme }}
This SBench
class allows you to know how many time take a certain part of your processes, with a concept of "steps" to split this even more when needed. Here's the features availables:
SBench
related statements into your code and filter out which bench(s) you want to be active and which notHere's how to use our implementation:
import __SBench from '@coffeekraken/s-bench';
// Using static methods
__SBench.start('myBench');
// do something here...
__SBench.step('myBench', 'myStep');
// do something more...
__SBench.end().log();
// Using instance
const bench = new __SBench('MyClass.doSomething');
bench.start();
// ...
bench.end().log();
// Filter our benches
__SBench.filter(['MyClass.*']);
// this accept glob patterns as filters like "MyClass.*"
For more information about the API of this class, please check our API documentation
{{> interface namespace='@coffeekraken.s-bench.shared.interface.SBenchSettingsInterface' }}
{{/ layout-readme }}
FAQs
Simple and pretty convinient class to make simple benches like a process duration, etc...
The npm package @coffeekraken/s-bench receives a total of 2 weekly downloads. As such, @coffeekraken/s-bench popularity was classified as not popular.
We found that @coffeekraken/s-bench 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.