Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-hyperdom

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-hyperdom

> Babel presets for hyperdom: JSX, binding syntax

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
106
decreased by-1.85%
Maintainers
1
Weekly downloads
 
Created
Source

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

.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.

Keywords

FAQs

Package last updated on 26 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc