Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wrk

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrk - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

0

example/example.js

@@ -0,0 +0,0 @@ var wrk = require('../index.js');

5

index.js

@@ -1,2 +0,2 @@

var exec = require('child_process').exec;
var execFile = require('child_process').execFile;
var parseWrk = require('./lib/parseWrk');

@@ -33,3 +33,4 @@ var util = require("util");

opts.debug && console.log(cmd);
var child = exec(cmd, execOptions, function(error, stdout, stderr) {
cmd = cmd.split(' ')
var child = execFile(cmd[0], cmd.splice(1), execOptions, function(error, stdout, stderr) {
if (opts.debug) {

@@ -36,0 +37,0 @@ stdout && console.log(stdout);

@@ -0,0 +0,0 @@ module.exports = parseWrk

{
"name": "wrk",
"version": "1.2.0",
"version": "1.2.1",
"description": "wrk load test tool wrapper and output parser",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -43,2 +43,3 @@ # node-wrk

- `debug`: print the output of `wrk` to stdout
- `execOptions`: options that will be directly passed through to the `child_process.exec` of wrk

@@ -45,0 +46,0 @@ Callback parameters: (err, wrkResults)

@@ -0,0 +0,0 @@ var test = require('tap').test;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc