@babel/plugin-proposal-export-namespace
Compile export namespace to ES2015
Last updated 7 years ago by hzoo .
MIT · Repository · Original npm · Tarball · package.json
$ npm install @babel/plugin-proposal-export-namespace 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 7.0.0-beta.32                                ...           latest (7 years ago)

4 Versions

  • 7.0.0-beta.32                                ...           7 years ago
  • 7.0.0-beta.31                                ...           7 years ago
  • 7.0.0-beta.5                                ...           7 years ago
  • 7.0.0-beta.4                                ...           7 years ago
Downloads
Total 5
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE