1.0.1 • Published 8 years ago

babel-plugin-reverse-string v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

babel-plugin-reverse-string

A babel plugin that reverse any string literal and template string that found within the tree.

Installation

npm install babel-plugin-reverse-string

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["reverse-string"]
}

Via CLI

$ babel --plugins reverse-string script.js

Via Node API

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