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

@es-pkg/utils

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-pkg/utils

gulp node执行

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

@es-pkg/utils

gulp node执行

NPM Version  NPM Version  unpacked size  Author

📦 Installation

npm install @es-pkg/utils

🏠 Exports

参数类型
🎗️autoUpgradeFunctions
🎗️compareFunctions
🎗️errorFunctions
🎗️getValidPkgNameFunctions
🎗️infoFunctions
🎗️isDirectoryFunctions
🎗️isValidHttpFunctions
🎗️logFunctions
🎗️removeFunctions
🎗️runFunctions
🎗️stepFunctions
🎗️successFunctions
🎗️titleCaseFunctions
🎗️warnFunctions

🎗️Functions

autoUpgrade

  • autoUpgrade(str:string): string

compare

  • 版本号比较大小

  • compare(v1:string, v2:string): number

error

  • error(content:string, ...rest:any[]): void

getValidPkgName

  • getValidPkgName(str:string): string

info

  • info(content:string, ...rest:any[]): void

isDirectory

  • isDirectory(path:string): boolean

isValidHttp

  • isValidHttp(url:string): boolean

log

  • log(content:string, ...rest:any[]): void
参数类型说明默认值
debug: typeof log
error: ((content:string, ...rest:any[]) => void)
info: ((content:string, ...rest:any[]) => void)
success: ((content:string, ...rest:any[]) => void)
warn: ((content:string, ...rest:any[]) => void)

remove

  • 删除文件或者文件夹

  • remove(url:string, folders?:boolean): Promise<void>

run

  • run(bin:string, args:string[], opts?:Options<string>): Promise<ExecaReturnValue<string>>

step

  • step(msg:string): void

success

  • success(content:string, ...rest:any[]): void

titleCase

  • titleCase(str:string): string

warn

  • warn(content:string, ...rest:any[]): void

Keywords

gulp-utils

FAQs

Package last updated on 01 Nov 2025

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