0.1.3 • Published 10 years ago

connect-weinre-injector v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

connect-weinre-injector

A connect middleware to inject weinre script into any page.

Getting Started

Install the module with: npm install connect-weinre-injector --save-dev

Grunt Example

For use as middleware in grunt simply add the following to the top of your array of middleware.

grunt.initConfig({
  connect: {
    options: {
      hostname: '127.0.0.1',
      port: 9999,
      middleware: function (connect) {
        return [
          require('connect-weinre-injector')({
            host: '127.0.0.1',
            port: '8080',
            id: 'anonymous'
          }),
          mountFolder(connect, '.tmp'),
          mountFolder(connect, 'app'),
        ];
      },
    },
  },
});
0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.0.0

10 years ago

0.1.0

10 years ago