Gathering detailed insights and metrics for @putout/plugin-convert-bitwise-to-logical
Gathering detailed insights and metrics for @putout/plugin-convert-bitwise-to-logical
Gathering detailed insights and metrics for @putout/plugin-convert-bitwise-to-logical
Gathering detailed insights and metrics for @putout/plugin-convert-bitwise-to-logical
🐊 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-convert-bitwise-to-logical
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
757 Stars
16,369 Commits
43 Forks
9 Watchers
46 Branches
24 Contributors
Updated on Jul 11, 2025
Latest Version
1.0.1
Package Id
@putout/plugin-convert-bitwise-to-logical@1.0.1
Unpacked Size
3.79 kB
Size
1.95 kB
File Count
4
NPM Version
8.3.0
Node Version
16.15.0
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
6
The bitwise OR operator (
|
) returns a1
in each bit position for which the corresponding bits of either or both operands are1
s.The operands are converted to 32-bit integers and expressed by a series of bits (zeroes and ones).
(c) MDN
🐊Putout plugin adds ability to convert bitwise
to logical
operator, when one of operands is not a number,
since mostly likely it is an error.
Merged to @putout/plugin-logical-expressions.
npm i @putout/plugin-convert-bitwise-to-logical -D
1{ 2 "rules": { 3 "convert-bitwise-to-logical": "on" 4 } 5}
1a | !b;
1a || !b;
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