babel-plugin-strict-equality

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-strict-equality

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • miraks