New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

json-excel-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-excel-cli - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

51

bin/json2excel.js
#!/usr/bin/env node
const program = require("commander");
// const inquirer = require("inquirer");
const minimist = require("minimist");

@@ -11,4 +10,2 @@ const chalk = require("chalk");

var appInfo = require(path.resolve(__dirname, "../package.json"));
// var inquireTipConfig = require("../packages/lib/inquire-tip-config.js");
// let configTemp = {};
program

@@ -117,49 +114,1 @@ .version(appInfo.version, "-v, --version")

}
// Commands 操作
// program
// // 命令与参数: <> 必填; [] 选填
// .command("exec <cmd> [env] [env]")
// // 别名
// .alias("ex")
// // 帮助信息
// .description("execute the given remote cmd")
// // 执行的操作
// .action((cmd, env, options) => {
// // 参数可以拿到
// console.log(`env is ${env}`, process.argv);
// console.log('exec "%s" using %s mode', cmd, options.exec_mode);
// })
// .parse(process.argv);
/**
* @description 交互命令操作
* @author chendq
* @date 2020-03-15
*/
// inquirer.prompt(inquireTipConfig.type).then(function(args) {
// assignConfig(args);
// if (configTemp.operateType === 1) {
// json2excelInit();
// } else {
// excel2jsonInit();
// }
// });
/* function excel2jsonInit() {
inquirer.prompt(inquireTipConfig.excel2jsonInit).then(function(args) {
assignConfig(args, true);
});
}
//json转换生成excel
function json2excelInit() {
inquirer.prompt(inquireTipConfig.json2excelInit).then(function(args) {
assignConfig(args, true);
});
}
function assignConfig(args, last) {
configTemp = Object.assign(configTemp, args);
console.log("configTemp: ", configTemp);
if (last) {
createrFn();
}
}
*/

5

package.json
{
"name": "json-excel-cli",
"version": "1.0.9",
"description": "Support multi-language file and Chinese-English comparison table excel file conversion",
"version": "1.0.10",
"description": "🦅 Support multi-language file and Chinese-English comparison table excel file conversion",
"main": "index.js",

@@ -41,3 +41,2 @@ "bin": {

"commander": "^5.0.0",
"inquirer": "^7.1.0",
"minimist": "^1.2.5",

@@ -44,0 +43,0 @@ "ora": "^4.0.3",

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