1.1.4 • Published 4 years ago

heya-bundler v1.1.4

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
4 years ago

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.
1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.7

6 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago