Weitere ähnliche Inhalte
Kürzlich hochgeladen (20)
Node basic training
- 38. var monther = require('monther');
monther.on(' ', function ( ) {
return ;
});
Saturday, April 19, 14
- 39. var monther = require('monther');
monther.on(' ', function ( ) {
return ;
});
Saturday, April 19, 14
- 40. var monther = require('monther');
monther.on(' ', function ( ) {
return ;
});
Saturday, April 19, 14
- 41. var monther = require('monther');
monther.on('cofee', function (data) {
return data;
});
monther.on('egg', function (egg) {
return egg;
});
monther.on('cake', function (cake) {
return cake;
});
Saturday, April 19, 14
- 51. var http = require(‘http’);
var fs = require(‘fs’);
var path = require(‘./yoo’);
Saturday, April 19, 14
- 61. MODULE 管理
•Global module,
•例如, process
•internal module,
•例如, http, fs, path, child_process...
•external module,
Saturday, April 19, 14
- 62. •Global module,
•例如, process
•internal module,
•例如, http, fs, path, child_process...
•external module,
Saturday, April 19, 14
- 64. NPM
• npm install module_name
• npm install -g module_name
• npm update [module_name]
• npm list
• npm ...
Saturday, April 19, 14
- 65. • npm install module_name
• npm install -g module_name
• npm update [module_name]
• npm list
• npm ...
Saturday, April 19, 14
- 72. as a web developers,
knowing some web structure is good for you
Saturday, April 19, 14