{"id":15879973,"url":"https://github.com/kapelianovych/gulp-flow-remove-types2","last_synced_at":"2026-01-12T09:41:59.474Z","repository":{"id":48313184,"uuid":"232521073","full_name":"Kapelianovych/gulp-flow-remove-types2","owner":"Kapelianovych","description":"Gulp plugin for removing Flow types","archived":false,"fork":false,"pushed_at":"2021-08-02T06:32:08.000Z","size":26,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T01:37:21.587Z","etag":null,"topics":["flow-remove-types","gulp","gulp-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gulp-flow-remove-types2","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kapelianovych.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-01-08T08:57:43.000Z","updated_at":"2020-05-19T06:20:33.000Z","dependencies_parsed_at":"2022-09-05T03:21:22.751Z","dependency_job_id":null,"html_url":"https://github.com/Kapelianovych/gulp-flow-remove-types2","commit_stats":null,"previous_names":["yevhenkap/gulp-flow-remove-types2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kapelianovych%2Fgulp-flow-remove-types2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kapelianovych%2Fgulp-flow-remove-types2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kapelianovych%2Fgulp-flow-remove-types2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kapelianovych%2Fgulp-flow-remove-types2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kapelianovych","download_url":"https://codeload.github.com/Kapelianovych/gulp-flow-remove-types2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758369,"owners_count":20828919,"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":["flow-remove-types","gulp","gulp-plugin"],"created_at":"2024-10-06T03:06:53.681Z","updated_at":"2026-01-12T09:41:59.436Z","avatar_url":"https://github.com/Kapelianovych.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-flow-remove-types2\n\nGulp plugin for [flow-remove-types](https://github.com/flowtype/flow-remove-types).\n\nThis plugin is just a fork of [gulp-flow-remove-types](https://github.com/Wain-PC/gulp-flow-remove-types) plugin - the last one is outdated and doesn't work for me. Also this plugin is improved according to [official requirements](https://github.com/gulpjs/gulp/blob/master/docs/writing-a-plugin/guidelines.md).\n\n## Installation\n\nInstall the package:\n\n- npm `npm i gulp-flow-remove-types2 --save-dev`\n- yarn `yarn add gulp-flow-remove-types2 --dev`\n\n## Usage\n\n```javascript\nconst { src, dest } = require('gulp')\nconst flowRemoveTypes = require('gulp-flow-remove-types2')\n\n\nsrc('file.js')\n  .pipe(flowRemoveTypes())\n  .pipe(dest('dist'))\n```\n\n## Options\n\n### `pretty`\n\nType: `boolean` Default: `false`\n\nBy default, [flow-remove-types](https://github.com/flowtype/flow-remove-types) replaces Flow type definitions with whitespaces.\n\nPass `{pretty: true}` if you want more condensed output (no whitespaces).\n\n##### Example\n\n```javascript\nsrc('file.js')\n  .pipe(flowRemoveTypes({\n      pretty: true\n  }))\n  .pipe(dest('dist'))\n```\n\n### `sourceMap`\n\nType: `boolean` Default: `false`\n\nIf set to `true` gulp will additionally output `your_file_name.js.map` file to the stream.\n\n##### Example\n\n```javascript\nsrc('file.js')\n  .pipe(flowRemoveTypes({\n      sourceMap: true\n  }))\n  .pipe(dest('dist')); //This will output both file.js and file.js.map\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkapelianovych%2Fgulp-flow-remove-types2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkapelianovych%2Fgulp-flow-remove-types2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkapelianovych%2Fgulp-flow-remove-types2/lists"}