@babel/plugin-proposal-export-namespace

Compile export namespace to ES2015

Stats

StarsIssuesVersionUpdatedCreatedSize
@babel/plugin-proposal-export-namespace
37,3447987.0.0-beta.324 years ago4 years agoMinified + gzip package size for @babel/plugin-proposal-export-namespace in KB

Readme

@babel/plugin-proposal-export-namespace

Compile export-ns-from statements to ES2015

Example

export * as ns from 'mod';

Installation

npm install --save-dev @babel/plugin-proposal-export-namespace

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["@babel/proposal-export-namespace"]
}

Via CLI

babel --plugins @babel/proposal-export-namespace script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["@babel/proposal-export-namespace"]
});

References

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.