Gathering detailed insights and metrics for @putout/plugin-extract-sequence-expressions
Gathering detailed insights and metrics for @putout/plugin-extract-sequence-expressions
Gathering detailed insights and metrics for @putout/plugin-extract-sequence-expressions
Gathering detailed insights and metrics for @putout/plugin-extract-sequence-expressions
🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
npm install @putout/plugin-extract-sequence-expressions
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99%)
TypeScript (0.62%)
WebAssembly (0.19%)
HTML (0.16%)
CSS (0.02%)
Svelte (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
756 Stars
16,369 Commits
42 Forks
9 Watchers
46 Branches
24 Contributors
Updated on Jul 08, 2025
Latest Version
4.0.0
Package Id
@putout/plugin-extract-sequence-expressions@4.0.0
Unpacked Size
7.35 kB
Size
2.94 kB
File Count
4
NPM Version
11.1.0
Node Version
24.1.0
Published on
May 31, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
The comma operator (
,
) evaluates each of its operands (from left to right) and returns the value of the last operand. This lets you create a compound expression in which multiple expressions are evaluated, with the compound expression's final value being the value of the rightmost of its member expressions.(c) MDN
🐊Putout plugin adds ability to extract sequence expressions. Check out in 🐊Putout Editor.
☝️Remember, when you writing a transform you can skip all parts related to extracting sequence expressions and just reuse current plugin it will make your code simpler and less error prone.
npm i @putout/plugin-extract-sequence-expressions -D
1{ 2 "rules": { 3 "extract-sequence-expressions": "on" 4 } 5}
1(module.exports.x = 1, module.exports.y = 2); 2 3fn((a, b)); 4(fn(a), 'hello'); 5 6(fn(a), b = 3); 7(fn(a), fn(b)); 8 9if ((a, b, c)) {}
1module.exports.x = 1; 2module.exports.y = 2; 3 4fn(a, b); 5fn(a, 'hello'); 6 7fn(a); 8b = 3; 9 10fn(a); 11fn(b); 12 13a; 14b; 15 16if (c) {}
Linter | Rule | Fix |
---|---|---|
🐊 Putout | extract-sequence-expressions | ✅ |
⏣ ESLint | no-sequences | ❌ |
MIT
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
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