Socket
Socket
Sign inDemoInstall

@types/gulp-rename

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/gulp-rename

TypeScript definitions for gulp-rename


Version published
Weekly downloads
40K
decreased by-1.61%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/gulp-rename

Summary

This package contains type definitions for gulp-rename (https://github.com/hparra/gulp-rename).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-rename.

index.d.ts

/// <reference types="node"/>
import * as File from "vinyl";

declare namespace rename {
    interface ParsedPath {
        dirname: string;
        basename: string;
        extname: string;
    }

    interface Options {
        dirname?: string | undefined;
        basename?: string | undefined;
        extname?: string | undefined;
        prefix?: string | undefined;
        suffix?: string | undefined;
    }

    interface PluginOptions {
        multiExt?: boolean | undefined;
    }
}

declare function rename(
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    obj: string | rename.Options | ((path: rename.ParsedPath, file: File) => rename.ParsedPath | void),
    options?: rename.PluginOptions,
): NodeJS.ReadWriteStream;
export = rename;

Additional Details

  • Last updated: Wed, 22 Nov 2023 00:24:48 GMT
  • Dependencies: @types/node, @types/vinyl

Credits

These definitions were written by Asana.

FAQs

Package last updated on 22 Nov 2023

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

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