NodeJS Runtime for Chrome (For Packaged Apps)
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
readme.md

readme.md

#Chrome Node

NodeJS Runtime for Chrome - To Use with Chrome's Packaged apps.

##How this works

You simply add node.js file to your chrome web app as shown below. After that you can build amazing stuff on chrome with node

##Example

<!doctype html>
<html>
	<head>
		<script type="text/javascript" src='node.js'></script>
		<script type="text/javascript">

			var http = require('http');
			http.createServer(function (req, res) {
				res.writeHead(200, {'Content-Type': 'text/plain'});
				res.end('Hello World\n');
			}).listen(1337, '127.0.0.1');
			console.log('Server running at http://127.0.0.1:1337/');

		</script>
	</head>
</html>

##So, where is magical node.js

It's not there and this is how it should be

I will try to spend some time on the implementation, by the time if someone started on this will try to help him.

##This is not a Joke. But an idea presented as a Github Repo. So be cool.