npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

babel-preset-gas

2.0.4 • Public • Published

babel-preset-gas

Babel preset for all Goolge Apps Script plugins.

This preset includes the following plugins:

Example

In

export.default {
  defaulttrue
}

Out

export["default"= {
  "default": true
}

Installation

npm install --save-dev babel-preset-gas

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["gas"]
}

Via CLI

babel --presets gas script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["gas"]
});

install

npm i babel-preset-gas

Downloadsweekly downloads

5

version

2.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability