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

6to5-brunch

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

6to5-brunch

Brunch plugin to turn ES6 code into vanilla ES5 with no runtime required.

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by100%
Maintainers
3
Weekly downloads
 
Created
Source

6to5-brunch

Brunch plugin using 6to5 to turn ES6 code into vanilla ES5 with no runtime required.

All the .js files in your project will be run through the 6to5 compiler, except those it is configured to ignore.

Installation

npm install --save 6to5-brunch

Configuration

Set 6to5 options in your brunch config (such as brunch-config.coffee) except for filename and sourceMap which are handled internally.

Additionally, you can set an ignore value to specify which .js files in your project should not be compiled by 6to5. By default, ignore is set to /^(bower_components|vendor)/.

plugins:
	ES6to5:
		whitelist: ['arrowFunctions']
		format:
			semicolons: false
		ignore: [
			/^(bower_components|vendor)/
			'app/legacyES5Code/**/*'
		]

Change Log

See release notes page on GitHub

License

ISC

Keywords

FAQs

Package last updated on 28 Jan 2015

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