Socket
Socket
Sign inDemoInstall

babel-plugin-transform-export-extensions

Package Overview
Dependencies
4
Maintainers
6
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-plugin-transform-export-extensions

Compile export extensions to ES2015


Version published
Weekly downloads
375K
decreased by-3.55%
Maintainers
6
Install size
2.24 MB
Created
Weekly downloads
 

Readme

Source

babel-plugin-transform-export-extensions

Compile additional export-from statements to ES2015

Example

export * as ns from 'mod';
export v from 'mod';

Try in REPL

Installation

npm install --save-dev babel-plugin-transform-export-extensions

Usage

.babelrc

{
  "plugins": ["transform-export-extensions"]
}

Via CLI

babel --plugins transform-export-extensions script.js

Via Node API

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

References

Keywords

FAQs

Last updated on 20 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc