Socket
Book a DemoInstallSign in
Socket

koaify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koaify

Mark all koa and fax compatible packages as es6ify targets to run them in the browser

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

koaify

NPM version Downloads

Mark all koa and fax compatible packages as es6ify targets to run them in the browser.

Installation

npm install koaify

Usage

var browserify = require('browserify');
var es6ify = require('es6ify');
var koaify = require('koaify');

koaify();

browserify()
  .add(es6ify.runtime)
  .transform(es6ify)
  .require(require.resolve('./index.js'), { entry: true })
  .bundle()
  .pipe(fs.createWriteStream('./build/bundle.js'));

Why?

Because adding a browserify clause to the package.json of >40 modules would be too invasive. This solves adding es6ify elegantly without really impacting performance.

See also

License

MIT

Keywords

koa

FAQs

Package last updated on 01 Dec 2014

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