Socket
Socket
Sign inDemoInstall

babel-plugin-transform-es2015-modules-systemjs

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es2015-modules-systemjs

This plugin transforms ES2015 modules to SystemJS


Version published
Weekly downloads
1.4M
increased by4.76%
Maintainers
3
Weekly downloads
 
Created

What is babel-plugin-transform-es2015-modules-systemjs?

The babel-plugin-transform-es2015-modules-systemjs package is a Babel plugin that transforms ES2015 (ES6) module syntax into SystemJS module format. This allows developers to use ES2015 module syntax while ensuring compatibility with SystemJS, a dynamic module loader.

What are babel-plugin-transform-es2015-modules-systemjs's main functionalities?

Transform ES2015 import statements to SystemJS

This feature transforms ES2015 import statements into SystemJS-compatible format. The code sample demonstrates how to use Babel to transform an ES2015 import statement into a SystemJS module.

const code = `import { example } from 'module';`;
const output = Babel.transform(code, { plugins: ['transform-es2015-modules-systemjs'] }).code;
console.log(output);

Transform ES2015 export statements to SystemJS

This feature transforms ES2015 export statements into SystemJS-compatible format. The code sample shows how to use Babel to transform an ES2015 export statement into a SystemJS module.

const code = `export const example = 'example';`;
const output = Babel.transform(code, { plugins: ['transform-es2015-modules-systemjs'] }).code;
console.log(output);

Other packages similar to babel-plugin-transform-es2015-modules-systemjs

Keywords

FAQs

Package last updated on 25 May 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc