Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cowboy/node-zombie-connect-socket
- Owner: cowboy
- License: mit
- Created: 2012-01-31T19:34:13.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-31T19:47:29.000Z (almost 13 years ago)
- Last Synced: 2024-10-14T14:18:19.401Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
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.