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

csvfmt

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

csvfmt - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

11

args.js

@@ -5,8 +5,17 @@ const commandLineArgs = require('command-line-args')

{ name: 'headers', alias: 'h', type: Boolean },
{ name: 'format', alias: 'f', type: String }
{ name: 'format', alias: 'f', type: String },
{ name: 'help', type: Boolean }
]
const options = commandLineArgs(optionDefinitions, { partial: true });
if (options.help) {
console.log('csvfmt usage: https://github.com/pokle/csvfmt')
process.exit(0);
}
options.files = options._unknown || []
delete options._unknown
module.exports = options

2

package.json
{
"name": "csvfmt",
"version": "1.0.0",
"version": "1.0.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "bin": "./index.js",

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