Socket
Socket
Sign inDemoInstall

babel-plugin-metal-register-components

Package Overview
Dependencies
50
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-plugin-metal-register-components

A babel plugin for Metal.js that automatically registers components.


Version published
Weekly downloads
3
Maintainers
1
Install size
5.60 MB
Created
Weekly downloads
 

Readme

Source

babel-plugin-metal-register-components

A babel plugin for Metal.js that automatically registers components.

Usage

This is a babel plugin automatically registers Component classes. Helps avoid the boilerplate of doing it manually for each component. To use it, just add it to your package.json and pass it as a plugin when calling babel:

{
  "plugins": ["metal-register-components"]
}

Note that gulp-metal already includes this plugin by default on build tasks. So there's no need to add it manually if you're using it.

Keywords

FAQs

Last updated on 25 Nov 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc