Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cowboy/node-zombie-connect-socket

zombie <-> connect, without a physical port.
https://github.com/cowboy/node-zombie-connect-socket

Last synced: 30 days ago
JSON representation

zombie <-> connect, without a physical port.

Awesome Lists containing this project

README

        

# zombie <-> connect, without a physical port.

Sample code showing how to get zombie.js to talk to connect via socket file.

_(Which is necessary because relative URLs don't seem to work in zombie when file:// is used. Plus, file:// sucks.)_

Tested in Node.js 0.6.8 on OS X.

## Take a look

View [the JavaScript source](https://github.com/cowboy/node-zombie-connect-socket/blob/master/lib/tutorial.js) to see what I did.

## Try it out
This isn't in npm.

```bash
git clone [email protected]:cowboy/node-zombie-connect-socket.git
cd node-zombie-connect-socket
npm install
node lib/tutorial.js
```

## FWIW
I used this technique in grunt's [qunit task](https://github.com/cowboy/grunt/blob/master/tasks/qunit.js).

## License
Copyright (c) 2012 "Cowboy" Ben Alman
Licensed under the MIT license.