Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

fly-esnext

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-esnext

Allow for ES6 and ES7 support throughout a Fly environment.

npmnpm
Version
1.0.0
Version published
Weekly downloads
42
-39.13%
Maintainers
1
Weekly downloads
 
Created
Source

Allow for ES6 and ES7 support throughout a Fly environment.

npm package

Install

npm install -D fly-esnext

Usage

That's it!

All you have to do is install and save fly-esnext to your package.json and you can use or write flyfiles and fly-plugins with ES6 or ES7 syntax!

Note: This will NOT compile your ES6 files into ES5. You must download and setup a fly-babel task for that.

Example

Flyfile:

export default async function () {
  await this.source('src/*.js')
  	// ...
    .target('dist');
}

export async function lint() {
  await this.source('src/*.js')
  	// ...
    .target('dist');
}

Plugin:

const compiler = require('something');

export default function () {
	this.filter('plugin', (data, opts) => {
		// .. whatever logic
	});
}

License

MIT © Luke Edwards

FAQs

Package last updated on 26 Mar 2016

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