Gathering detailed insights and metrics for babel-plugin-ramda-adjunct
Gathering detailed insights and metrics for babel-plugin-ramda-adjunct
npm install babel-plugin-ramda-adjunct
Typescript
Module System
JavaScript (100%)
Total Downloads
451
Last Day
1
Last Week
1
Last Month
5
Last Year
52
95 Commits
1 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.0.1
Package Id
babel-plugin-ramda-adjunct@0.0.1
Unpacked Size
191.92 kB
Size
24.47 kB
File Count
10
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-50%
1
Compared to previous week
Last month
150%
5
Compared to previous month
Last year
-44.7%
52
Compared to previous year
3
5
This plugin is a transform to remove unused ramda dependencies, without forcing the user to cherry pick methods manually. This lets you use ramda naturally (aka as documented) without worrying about bundling parts you're not using.
See also babel-plugin-lodash
.
Converts
1import R, {map} from 'ramda'; 2 3map(R.add(1), [1, 2, 3]);
Roughly to
1import add from 'ramda/src/add'; 2import map from 'ramda/src/map'; 3 4map(add(1), [1, 2, 3]);
I receive
TypeError: The plugin "ramda" didn’t export a Plugin instance
or, can I use this plugin with Babel v5?
Babel v5 is no longer supported. Use v0.1.2 for support.
.babelrc
(Recommended)1{ 2 "plugins": ["ramda"] 3}
or
1{ 2 "plugins": [ 3 ["ramda", { 4 "useES": true 5 }] 6 ] 7}
to use the new ramda/es/
path for imports, which is available since Ramda 0.25. This is recommended as it uses ES modules rather than CommonJS. It defaults to ramda/src/
when omitted.
1$ babel --plugins ramda script.js
1require("babel-core").transform("code", { 2 plugins: ["ramda"] 3});
No vulnerabilities found.
Reason
no binaries found in the repo
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
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
37 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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