{"id":15395071,"url":"https://github.com/goto-bus-stop/remove-react-proptypes","last_synced_at":"2025-03-27T23:44:26.063Z","repository":{"id":57353347,"uuid":"83221310","full_name":"goto-bus-stop/remove-react-proptypes","owner":"goto-bus-stop","description":"Remove React propTypes.","archived":false,"fork":false,"pushed_at":"2017-02-26T16:25:46.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T02:11:09.335Z","etag":null,"topics":["browserify","cli","proptypes","react","webpack-loader"],"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/goto-bus-stop.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-02-26T15:58:01.000Z","updated_at":"2019-05-31T01:47:54.000Z","dependencies_parsed_at":"2022-08-29T10:20:26.728Z","dependency_job_id":null,"html_url":"https://github.com/goto-bus-stop/remove-react-proptypes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fremove-react-proptypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fremove-react-proptypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fremove-react-proptypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-bus-stop%2Fremove-react-proptypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goto-bus-stop","download_url":"https://codeload.github.com/goto-bus-stop/remove-react-proptypes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245944062,"owners_count":20697948,"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":["browserify","cli","proptypes","react","webpack-loader"],"created_at":"2024-10-01T15:25:35.198Z","updated_at":"2025-03-27T23:44:26.031Z","avatar_url":"https://github.com/goto-bus-stop.png","language":"JavaScript","readme":"# remove-react-proptypes\n\nRemove React PropTypes. Removes all occurrences of `\u003ccomponent\u003e.propTypes = \u003ctypes\u003e`.\n\n## Installation\n\n```bash\nnpm install --save-dev remove-react-proptypes\n```\n\nOr install the CLI globally:\n\n```bash\nnpm install --global remove-react-proptypes\n```\n\n## Usage\n\nCLI:\n\n```bash\nremove-react-proptypes input.js \u003e output.js\n# or pipe to stdin:\ncat input.js | remove-react-proptypes | uglifyjs -o output.js\n```\n\nNode:\n\n```js\nconst removeReactPropTypes = require('remove-react-proptypes')\nconst outputString = removeReactPropTypes(inputString)\n```\n\nNode.js streams:\n\n```js\nconst removeReactPropTypes = require('remove-react-proptypes/stream')\nfs.createReadStream('input.js')\n  .pipe(removeReactPropTypes())\n  .pipe(fs.writeReadStream('output.js'))\n```\n\nBrowserify:\n\n```js\nbrowserify -g remove-react-proptypes/stream -e input.js \u003e output.js\n```\n\nWebpack 2:\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      // You may want to put this in a separate `modules` rule, so it's applied\n      // to dependencies as well:\n      {\n        test: /\\.js$/,\n        use: 'remove-react-proptypes'\n      },\n      // And use other loaders as normal:\n      {\n        test: /\\.js$/,\n        exclude: /node_modules/,\n        use: [\n          'babel-loader'\n        ]\n      }\n    ]\n  }\n}\n```\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoto-bus-stop%2Fremove-react-proptypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoto-bus-stop%2Fremove-react-proptypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoto-bus-stop%2Fremove-react-proptypes/lists"}