1.0.0 • Published 9 years ago
babel-plugin-strict-equality v1.0.0
babel-plugin-strict-equality
Transform ==
and !=
to ===
and !==
Installation
$ npm install --save-dev babel-plugin-strict-equality
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["strict-equality"]
}
Via CLI
$ babel --plugins strict-equality script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["strict-equality"]
});
License
MIT
1.0.0
9 years ago