Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 402 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 402 Bytes

babel-plugin-hello-world

Extended plugin sample for Babel.

Installation

$ npm install babel-plugin-hello-world

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["hello-world"]
}

Via CLI

$ babel --plugins hello-world script.js

Via Node API

require('babel').transform('code', {
  plugins: ['hello-world']
});