{"id":20622582,"url":"https://github.com/myterminal/gulp-that","last_synced_at":"2026-04-23T09:34:41.749Z","repository":{"id":57259249,"uuid":"95336393","full_name":"myTerminal/gulp-that","owner":"myTerminal","description":"A generic gulp plugin to do anything with a stream of files","archived":false,"fork":false,"pushed_at":"2022-08-19T05:05:38.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T23:36:58.676Z","etag":null,"topics":["gulp"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myTerminal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-25T03:33:32.000Z","updated_at":"2022-08-03T23:27:07.000Z","dependencies_parsed_at":"2022-08-25T03:02:29.245Z","dependency_job_id":null,"html_url":"https://github.com/myTerminal/gulp-that","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fgulp-that","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fgulp-that/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fgulp-that/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fgulp-that/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myTerminal","download_url":"https://codeload.github.com/myTerminal/gulp-that/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242300852,"owners_count":20105309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gulp"],"created_at":"2024-11-16T12:23:35.045Z","updated_at":"2026-04-23T09:34:41.718Z","avatar_url":"https://github.com/myTerminal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-that\n\n[![npm version](https://badge.fury.io/js/gulp-that.svg)](https://badge.fury.io/js/gulp-that)\n[![npm downloads](https://img.shields.io/npm/dt/gulp-that.svg)](https://www.npmjs.com/package/gulp-that)\n[![License](https://img.shields.io/github/license/myTerminal/ample-alerts.svg)](https://opensource.org/licenses/MIT)  \n[![Build Status](https://travis-ci.org/myTerminal/gulp-that.svg?branch=master)](https://travis-ci.org/myTerminal/gulp-that)\n[![Code Climate](https://codeclimate.com/github/myTerminal/gulp-that.png)](https://codeclimate.com/github/myTerminal/gulp-that)\n[![js-myterminal-style](https://img.shields.io/badge/code%20style-myterminal-blue.svg)](https://www.npmjs.com/package/eslint-config/myterminal)\n[![Coverage Status](https://img.shields.io/coveralls/myTerminal/gulp-that.svg)](https://coveralls.io/r/myTerminal/gulp-that?branch=master)  \n[![NPM](https://nodei.co/npm/gulp-that.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/gulp-that/)\n\nA generic gulp plugin to do anything with a stream of files\n\n## Installation\n\n*gulp-that* is available on *Npm*. You can add it to your Node.js project with a simple command.\n\n    npm install gulp-that\n\n## How to Use\n\n'Require' *gulp-that* into a variable and use it as you would use any other gulp plugin. The only special thing about *gulp-that* is that is needs you to tell it for what to do with the files in a stream.\n\n    const gulpThat = require('gulp-that');\n\n    gulp.task('convert-to-lengths', () =\u003e {\n        gulp.src('src/**/*.js')\n            .pipe(gulpThat(operation))\n            .pipe(gulp.dest('dist'));\n    });\n\nThe symbol `operation` can be a function that is capable of transforming a string into another. For example, if it is a function like below,\n\n    const operation = inputString =\u003e\n        inputString.length;\n\n*gulp-that* would transform all files into their own file sizes in bytes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyterminal%2Fgulp-that","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyterminal%2Fgulp-that","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyterminal%2Fgulp-that/lists"}