babel-preset-hyperdom
> Babel presets for hyperdom: JSX, binding syntax
Last updated 2 years ago by refractalize .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-preset-hyperdom 
SYNC missed versions from official npm registry.

babel-preset-hyperdom

Babel presets for hyperdom: JSX, binding syntax

Example

In

<input type="text" binding="item[n].method().name" />

Out

hyperdom.jsx("input", { type: "text", binding: [item[n].method(), "name"] });

Installation

npm install --save-dev babel-preset-hyperdom

For babel 6

npm install --save-dev babel-preset-hyperdom@1.4.0

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["hyperdom"]
}

Via CLI

babel --presets hyperdom script.js

Via Node API

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

We're Hiring!

Featurist provides full stack, feature driven development teams. Want to join us? Check out our career opportunities.

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

6 Versions

  • 2.0.0                                ...           2 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 4
Last Day 1
Last Week 0
Last Month 3
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |