Socket
Socket
Sign inDemoInstall

babel-preset-crowdlab

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-crowdlab

A babel preset for transforming your JavaScript for CrowdLab


Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

babel-preset-crowdlab

A babel preset for transforming your JavaScript for CrowdLab.

Currently based on babel-preset-airbnb with some additions:

Usage in CrowdLab UI

The easiest way to use this configuration is by copying the package boilerplate, which includes it by default. You don't need to install it separately in CrowdLab UI projects.

Usage Outside of CrowdLab UI

If you want to use this Babel preset outside of the CrowdLab UI project, you can install and use it with the following steps.

Install

yarn add -D babel-preset-crowdlab

Usage

.babelrc
{
  "presets": ["crowdlab"]
}

Via CLI

babel script.js --presets crowdlab

Via Node API

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

FAQs

Package last updated on 05 Jun 2018

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