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

@es-pkg/gulp

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/gulp

gulp node执行

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

@es-pkg/gulp

gulp node执行

NPM Version  NPM Version  unpacked size  Author

📦 Installation

npm install @es-pkg/gulp

🏠 Exports

参数类型
🐕GulpClasses
☀️defaultVariables
🎗️lastRunFunctions
🎗️parallelFunctions
🎗️registryFunctions
🎗️seriesFunctions
🎗️taskFunctions
🎗️treeFunctions

🐕Classes

Gulp

参数类型说明默认值
__constructor* new Gulp(): Gulp
Gulp: undefined | typeof Gulp
dest: ((folder:string | ((file:File) => string), opt?:DestOptions) => __global.NodeJS.ReadWriteStream) = vfs.destvfs.dest
src: ((globs:string | string[], opt?:SrcOptions) => __global.NodeJS.ReadWriteStream) = vfs.srcvfs.src
symlink: ((folder:string | ((File:File) => string), opts?:{}) => __global.NodeJS.ReadWriteStream) = vfs.symlinkvfs.symlink
watch* watch(globs:GulpClient.Globs, fn?:Undertaker.TaskFunction): "fs".FSWatcher
  • watch(globs:GulpClient.Globs, opts?:GulpClient.WatchOptions, fn?:Undertaker.TaskFunction): "fs".FSWatcher|||

☀️Variables

Const gulp

: Gulp = ...

🎗️Functions

lastRun

  • Takes a string or function (task) and returns a timestamp of the last time the task was run successfully. The time will be the time the task started. Returns undefined if the task has not been run.

  • lastRun(task:Undertaker.Task, timeResolution?:number): number

parallel

  • Takes a variable amount of strings (taskName) and/or functions (fn) and returns a function of the composed tasks or functions. Any taskNames are retrieved from the registry using the get method. When the returned function is executed, the tasks or functions will be executed in parallel, all being executed at the same time. If an error occurs, all execution will complete.

  • parallel(...tasks:Undertaker.Task[]): Undertaker.TaskFunction

  • Takes a variable amount of strings (taskName) and/or functions (fn) and returns a function of the composed tasks or functions. Any taskNames are retrieved from the registry using the get method. When the returned function is executed, the tasks or functions will be executed in parallel, all being executed at the same time. If an error occurs, all execution will complete.

  • parallel(tasks:Undertaker.Task[]): Undertaker.TaskFunction

registry

  • Returns the current registry object.

  • registry(): UndertakerRegistry

  • The tasks from the current registry will be transferred to it and the current registry will be replaced with the new registry.

  • registry(registry:UndertakerRegistry): void

series

  • Takes a variable amount of strings (taskName) and/or functions (fn) and returns a function of the composed tasks or functions. Any taskNames are retrieved from the registry using the get method. When the returned function is executed, the tasks or functions will be executed in series, each waiting for the prior to finish. If an error occurs, execution will stop.

  • series(...tasks:Undertaker.Task[]): Undertaker.TaskFunction

  • Takes a variable amount of strings (taskName) and/or functions (fn) and returns a function of the composed tasks or functions. Any taskNames are retrieved from the registry using the get method. When the returned function is executed, the tasks or functions will be executed in series, each waiting for the prior to finish. If an error occurs, execution will stop.

  • series(tasks:Undertaker.Task[]): Undertaker.TaskFunction

task

  • Returns the wrapped registered function.

  • task(taskName:string): undefined | Undertaker.TaskFunctionWrapped

  • Register the task by the taskName.

  • task(taskName:string, fn:Undertaker.TaskFunction): void

  • Register the task by the name property of the function.

  • task(fn:Undertaker.TaskFunction): void

tree

  • Optionally takes an object (options) and returns an object representing the tree of registered tasks.

  • tree(options?:Undertaker.TreeOptions): Undertaker.TreeResult

Keywords

gulp

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