babel-helper-flip-expressions (Evacuated from NSA/Microsoft Github)

anonymous 16b239b721 Merge branch 'master' of https://notabug.org/themusicgod1/babel-helper-flip-expressions %!s(int64=6) %!d(string=hai) anos
src abef8bd5f7 typo %!s(int64=6) %!d(string=hai) anos
LICENSE 7f10c7b7fa extracting just babel-helper-flip-expressions from 'minify' %!s(int64=6) %!d(string=hai) anos
README.md cd3708828f what IS this %!s(int64=6) %!d(string=hai) anos
package.json 7f10c7b7fa extracting just babel-helper-flip-expressions from 'minify' %!s(int64=6) %!d(string=hai) anos

README.md

babel-helper-flip-expressions

Installation

npm install babel-helper-flip-expressions --save-dev

Takes a tree of expressions and determines if it has more nodes that could benifit from "flipping" (flipping meaning to changing == to != or similarly negating parts of the expression).