@types/gulp-insert

  • Version 0.5.13
  • Published
  • 5.21 kB
  • 2 dependencies
  • MIT license

Install

npm i @types/gulp-insert
yarn add @types/gulp-insert
pnpm add @types/gulp-insert

Overview

TypeScript definitions for gulp-insert

Index

Namespaces

namespace gulp-insert

module 'gulp-insert' {}

    function append

    append: (content: string) => NodeJS.ReadWriteStream;
    • Appends a string onto the contents

      Parameter content

      Returns

      {NodeJS.ReadWriteStream}

    function prepend

    prepend: (content: string) => NodeJS.ReadWriteStream;
    • Prepends a string onto the contents

      Parameter content

      Returns

      {NodeJS.ReadWriteStream}

    function transform

    transform: (transformer: Transformer) => NodeJS.ReadWriteStream;
    • Calls a function with the contents of the file

      Parameter transformer

      Returns

      {NodeJS.ReadWriteStream}

    function wrap

    wrap: (prepend: string, append: string) => NodeJS.ReadWriteStream;
    • Wraps the contents with two strings

      Parameter prepend

      Parameter append

      Returns

      {NodeJS.ReadWriteStream}

    Package Files (1)

    Dependencies (2)

    Dev Dependencies (0)

    No dev dependencies.

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/gulp-insert.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/gulp-insert)
    • HTML
      <a href="https://www.jsdocs.io/package/@types/gulp-insert"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>