babel-preset-angular

Babel preset for all angular.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-angular
006.0.157 years ago7 years agoMinified + gzip package size for babel-preset-angular in KB

Readme

babel-preset-angular
Babel preset for all angular plugins.

Install

$ npm install --save-dev babel-preset-angular

Usage

Via .babelrc (Recommended)

.babelrc
{
  "presets": ["angular"]
}

Via CLI

$ babel script.js --preset angular

Via Node API

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