heya-bundler

1.1.4 • Public • Published

Bundler

Build status NPM version

Greenkeeper Dependencies devDependencies

Intelligent I/O for browsers: a bundler endpoint for node.js.

What is it?

A flexible customizable endpoint for Express on node.js that implements heya-io's bundling protocol. It is a reference implementation for its bundle() facility.

Example of use:

var bundler = require('heya-bundler');
var express = require('express');
 
var app = express();
var router = express.Router();
 
router.put('/', bundler({
  isUrlAcceptable: function (url) {
    // accept only local absolute URLs
    return /^\/\w/.test(url);
  }
}));
 
app.use('/bundle', router);
 
// the rest of the setup

All supported parameters can be found in Instrumentation.

How to install

npm install --save heya-bundler

Documentation

All documentation can be found in project's wiki.

License

BSD or AFL — your choice

Versions

  • 1.1.4 — Refreshed dependencies.
  • 1.1.3 — Refreshed dependencies.
  • 1.1.2 — Added blacklisted headers that should not be copied by default.
  • 1.1.1 — Refreshed dependencies.
  • 1.1.0 — Switched from request to heya-io-node!
  • 1.0.7 — Refreshed dependencies.
  • 1.0.6 — Corrected links. No code change.
  • 1.0.5 — Switched from 500 to 400 to indicate bad requests, checked JSON and request for exceptions.
  • 1.0.4 — Added a way to customize logging.
  • 1.0.3 — More accurate calculations of spent time and better error reports.
  • 1.0.2 — Minor documentation update.
  • 1.0.1 — Sorted out dependencies.
  • 1.0.0 — Starts the new generation.

Readme

Keywords

Package Sidebar

Install

npm i heya-bundler

Weekly Downloads

2

Version

1.1.4

License

BSD-3-Clause

Unpacked Size

22.3 kB

Total Files

4

Last publish

Collaborators

  • elazutkin