{"id":13773802,"url":"https://github.com/leebyron/rollup-plugin-flow","last_synced_at":"2025-05-08T21:21:14.793Z","repository":{"id":65421499,"uuid":"64061355","full_name":"leebyron/rollup-plugin-flow","owner":"leebyron","description":"Rollup plugin for removing Flow type annotations.","archived":false,"fork":false,"pushed_at":"2020-09-01T00:51:41.000Z","size":7,"stargazers_count":80,"open_issues_count":5,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T02:48:19.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/leebyron.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":"2016-07-24T11:00:28.000Z","updated_at":"2023-11-21T22:19:26.000Z","dependencies_parsed_at":"2023-01-22T21:05:12.501Z","dependency_job_id":null,"html_url":"https://github.com/leebyron/rollup-plugin-flow","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leebyron%2Frollup-plugin-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leebyron%2Frollup-plugin-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leebyron%2Frollup-plugin-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leebyron%2Frollup-plugin-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leebyron","download_url":"https://codeload.github.com/leebyron/rollup-plugin-flow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253150075,"owners_count":21861829,"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":[],"created_at":"2024-08-03T17:01:20.328Z","updated_at":"2025-05-08T21:21:14.772Z","avatar_url":"https://github.com/leebyron.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Code Quality"],"readme":"Rollup Flow plugin\n==================\n\n[![Build Status](https://travis-ci.org/leebyron/rollup-plugin-flow.svg?branch=master)](https://travis-ci.org/leebyron/rollup-plugin-flow)\n\nThis [Rollup](http://rollupjs.org/) plugin will remove [Flow](https://flowtype.org)\ntype annotations during bundling using [`flow-remove-types`](https://github.com/leebyron/flow-remove-types).\n\n## Install\n\n```\nnpm install --save rollup-plugin-flow\n```\n\n```js\nvar rollup = require('rollup').rollup;\nvar flow = require('rollup-plugin-flow');\n\nrollup({\n  entry: 'main.js',\n  plugins: [ flow() ]\n}).then(...);\n```\n\n## Options\n\nProvide options as an object argument to `flow()`.\n\n#### `all` - Transform all files, not just those containing `@flow` comments.\n\n*Default:* `false`\n\n```js\nvar flow = require('rollup-plugin-flow');\n\nmodule.exports = {\n  plugins: [ flow({ all: true }) ],\n  format: 'cjs'\n};\n```\n\n#### `pretty` - Remove flow types without replacing them with whitespace.\n\n*Default:* `false`\n\n*Note:* Typically source maps are not necessary for this transform, however\nsource maps are recommended when generating \"pretty\" results.\n\n```js\nvar flow = require('rollup-plugin-flow');\n\nmodule.exports = {\n  plugins: [ flow({ pretty: true }) ],\n  format: 'cjs'\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleebyron%2Frollup-plugin-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleebyron%2Frollup-plugin-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleebyron%2Frollup-plugin-flow/lists"}