New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-wiz

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-wiz

The Node.js toolset provides powerful functions and tools to speed up the development process.

latest
npmnpm
Version
0.2.0
Version published
Weekly downloads
1
-88.89%
Maintainers
0
Weekly downloads
 
Created
Source

npm version

node-wiz

Node.js工具集,为开发者提供了强力的功能和工具,加速开发流程。

安装

yarn add node-wiz --dev

常量

  • argv: 命令行参数
  • currentWorkingDirectory: 当前工作目录

函数

  • spawnSync(command: string, params: string[]): 同步执行命令行
  • clearConsole(): 清空控制台
  • getGitStatus(): 获取git状态
  • tryGitAdd(path: string): 执行 git add
  • tryYarn(): 执行 yarn
  • tryNpm(): 执行 npm
  • handleAndExitOnError(func): 错误处理
  • handleAndExitOnErrorSync(async func): 同步错误处理
  • copyDirectoryContents(srouce: string, targe: string, transformCallback: Function(content: string)): 复制目录

FAQs

Package last updated on 10 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts