babel-plugin-undeclared-variables-check
Throw a compile-time error on references to undeclared variables
Last updated 10 years ago by sebmck .
MIT · Repository · Bugs · Original npm
$ cnpm install babel-plugin-undeclared-variables-check 
SYNC missed versions from official npm registry.

babel-plugin-undeclared-variables-check

Throw a compile-time error on references to undeclared variables

Installation

$ npm install babel-plugin-undeclared-variables-check

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["undeclared-variables-check"]
}

Via CLI

$ babel --plugins undeclared-variables-check script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["undeclared-variables-check"]
});

Current Tags

  • 6.22.0                                ...           latest (9 years ago)

2 Versions

  • 6.22.0                                ...           9 years ago
  • 1.0.2                                ...           10 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org