On Github Tony-Proum / web-dev-tools
Chrome's JavaScript runtime
A JVM for javascript devs
Run tools writes in javascript
example from nodejs.org
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/');
result
node example.js Server running at http://127.0.0.1:1337/
result http://127.0.0.1:1337
Hello WorldPackage manager for NodeJS
Allow to install tools using command line
examples :
npm install -g grunt-cli bower
Javascript task runner
Ant or Maven for web devs
Allows to build your app for prod purpose
Javascript dependency manager
Example bower.json
{
"name": "myProject",
"version": "1.0.0-SNAPSHOT",
"dependencies": {
"angular": "~1.3.0"
},
"appPath": "app"
}
bower install --save angular
Single page web application
*.html
*.js
app.directive('my-directive',function(){
return {
restrict : 'E',
templateUrl : 'Result
Allow to do some small operation on client side
&
Offline work