Skip to content

AIREM-Richard/babel-plugn-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-play

play with babel plugin

Example

In

// input code

Out

"use strict";

// output code

Installation

$ npm install babel-plugin-play

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["play"]
}

Via CLI

$ babel --plugins play script.js

Via Node API

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

About

Play with babel plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published