Socket
Socket
Sign inDemoInstall

string-argv

Package Overview
Dependencies
0
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.1.0

LICENSE

0

index.js

@@ -0,0 +0,0 @@ "use strict";

12

package.json
{
"name": "string-argv",
"description": "string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.",
"version": "0.0.2",
"version": "0.1.0",
"contributors": [{
"name": "Michael Ferris",
"email": "mike.ferri@hotmail.com"
}],
"author": {
"name": "Anthony McCormick",
"email": "anthony.mccormick AT gmail.com"
"email": "anthony.mccormick@gmail.com"
},
"license": "MIT",
"keywords": [
"logger"
"argv"
],
"scripts": {
"lint": "eslint .",
"test": "jasmine JASMINE_CONFIG_PATH=test/config.json --verbose --color --captureExceptions && npm run lint"
"test": "jasmine --config=test/config.json && npm run lint"
},

@@ -17,0 +21,0 @@ "main": "index",

#What is it?
string-argv parses a string into an argument array to mimic process.argv.
# What is it?
`string-argv` parses a string into an argument array to mimic `process.argv`.
This is useful when testing Command Line Utilities that you want to pass arguments to and is the opposite of what the other argv utilities do.
#Installation
# Installation

@@ -12,3 +12,3 @@ ```

#Usage
# Usage

@@ -45,3 +45,3 @@ ```js

##params
## params

@@ -48,0 +48,0 @@ __required__: __arguments__ String: arguments that you would normally pass to the command line.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc