$ npm install babel-plugin-transform-es2015-instanceof
.babelrc
{
"plugins": ["transform-es2015-instanceof"]
}
$ babel --plugins transform-es2015-instanceof script.js
require("babel-core").transform("code", {
plugins: ["transform-es2015-instanceof"]
});