wenke-babel-core
wenke of Babel compiler core.
Last updated 3 years ago by mopduan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install wenke-babel-core 
SYNC missed versions from official npm registry.

babel-core

Babel compiler core.

Install

$ npm install babel-core

Usage

import babel from 'babel-core';

const code = `class Example {}`;
const result = babel.transform(code, { /* options */ });

result.code; // Generated code
result.map; // Sourcemap
result.ast; // AST

For more in depth documentation see: http://babeljs.io/docs/usage/api/

Current Tags

  • 6.9.4                                ...           latest (3 years ago)

3 Versions

  • 6.9.4                                ...           3 years ago
  • 6.9.3                                ...           3 years ago
  • 6.9.2                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (24)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |