Installations
npm install @stevoland/babel-plugin-transform-react-remove-prop-types
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
5.9.0
NPM Version
3.8.1
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
stevoland
Download Statistics
Total Downloads
1,102
Last Day
1
Last Week
3
Last Month
9
Last Year
65
GitHub Statistics
77 Commits
3 Watching
1 Branches
1 Contributors
Bundle Size
1.91 kB
Minified
815.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.2.7
Package Id
@stevoland/babel-plugin-transform-react-remove-prop-types@0.2.7
Size
4.86 kB
NPM Version
3.8.1
Node Version
5.9.0
Total Downloads
Cumulative downloads
Total Downloads
1,102
Last day
0%
1
Compared to previous day
Last week
200%
3
Compared to previous week
Last month
28.6%
9
Compared to previous month
Last year
-21.7%
65
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Babel Plugin for removing React propTypes
Remove unnecessary React propTypes
from the production build.
Example
In
1const Baz = () => (
2 <div />
3);
4
5Baz.propTypes = {
6 foo: React.PropTypes.string
7};
Out
1const Baz = () => ( 2 <div /> 3);
Installation
1npm install --save-dev babel-plugin-transform-react-remove-prop-types
Usage
Via .babelrc
(Recommended)
.babelrc
1{ 2 "env": { 3 "production": { 4 "plugins": ["transform-react-remove-prop-types"] 5 } 6 } 7}
Via CLI
1babel --plugins transform-react-remove-prop-types script.js
Via Node API
1require("babel-core").transform("code", { 2 plugins: ["transform-react-remove-prop-types"] 3});
#License
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-01-20
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More