Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 452 Bytes

File metadata and controls

33 lines (23 loc) · 452 Bytes

babel-plugin-transform-es2015-instanceof

Installation

$ npm install babel-plugin-transform-es2015-instanceof

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-es2015-instanceof"]
}

Via CLI

$ babel --plugins transform-es2015-instanceof script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es2015-instanceof"]
});