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

simpleargumentsparser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpleargumentsparser - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.github/ISSUE_TEMPLATE/bug_report.md

13

package.json
{
"name": "simpleargumentsparser",
"version": "1.0.1",
"version": "1.0.2",
"description": "Parse CLI arguments from node",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"tsc": "find src -type f -exec sed -i \"1s/\\/\\/\\ \\@ts\\-shebang/\\#\\!\\/usr\\/bin\\/env\\ node/\" {} +;tsc;find src -type f -exec sed -i \"1s/\\#\\!\\/usr\\/bin\\/env\\ node/\\/\\/\\ \\@ts\\-shebang/\" {} +",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -26,3 +27,9 @@ },

},
"homepage": "https://github.com/StringManolo/simpleArgumentsParser#readme"
"homepage": "https://github.com/StringManolo/simpleArgumentsParser#readme",
"dependencies": {
"typescript": "^4.6.3"
},
"devDependencies": {
"@types/node": "^17.0.23"
}
}

@@ -9,9 +9,12 @@ # simpleArgumentsParser

Writing custom parsers like i was doing for each command, takes a good amount of time. More even on simpler ones. Just better throw a npm install, a require await the parser and you ready to go.
Writing custom parsers like i was doing for each command, takes a good amount of time. More even on simpler ones. Just better throw a npm install, a require, await the parser and you ready to go.
### Why not other?
I created this library because i don't like any of other command parsers i tryied. Some are to basic, others are to bug for a simple parsing, others just don't work well and other are to complicated.
I created this library because i don't like any of other command parsers i tryied. Some are to basic, others are to big for a simple parsing, others just don't work well and other are to complicated.
I probably will be using this library from now. So i will be finding and fixing errors, improving the code, etc. It's going to get much better.
### LICENSE
![licenseScreenshot](https://user-images.githubusercontent.com/56775178/160669799-586bed67-a9be-4897-ae31-9445c83d7963.png)
### How to install?

@@ -18,0 +21,0 @@

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

const parseCLI = require("simpleargumentsparser");
const parseCLI = require("./");

@@ -3,0 +3,0 @@ (async() => {

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