【文件属性】:
文件名称:learnyounode:LearnYouNode 解决方案
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-04 15:19:32
JavaScript
LearnYouNode 解决方案
开源研讨会 - 教授网络软件技能。 自己做或在附近的车间做。
学习node基础:异步i/o,http。
安装
然后使用 npm 安装模块 learnyounode
npm install -g learnyounode 还需要一个文本编辑器,比如
内容
/javascript
javascript 版本
/咖啡脚本
咖啡脚本版本
README.md - 这个文件
练习 1 - Hello World
helloworld.js 或 helloworld.coffee
练习 2 - 婴儿步骤
babysteps.js 或 babysteps.coffee
练习 3 - 我的第一个 I/O!
myfirstio.js 或 myfirstio.coffee
测试.txt
练习 4 - 我的第一个异步 I/O!
myfirstasyncio.j
【文件预览】:
learnyounode-master
----coffeescript()
--------httpjsonapiserver.coffee(586B)
--------httpclient.coffee(188B)
--------mymodule.coffee(271B)
--------httpfileserver.coffee(241B)
--------httpuppercaserer.coffee(314B)
--------jugglingasync.coffee(805B)
--------myfirstasyncio.coffee(125B)
--------makeitmodular.coffee(193B)
--------timeserver.coffee(422B)
--------myfirstio.coffee(111B)
--------helloworld.coffee(26B)
--------filteredls.coffee(213B)
--------babysteps.coffee(81B)
--------httpcollect.coffee(283B)
----javascript()
--------httpclient.js(541B)
--------makeitmodular.js(235B)
--------jugglingasync.js(589B)
--------mymodule.js(311B)
--------myfirstasyncio.js(152B)
--------myfirstio.js(230B)
--------test.js(894B)
--------httpuppercaserer.js(348B)
--------httpcollect.js(320B)
--------httpfileserver.js(293B)
--------filteredls.js(555B)
--------helloworld.js(27B)
--------httpjsonapiserver.js(2KB)
--------timeserver.js(679B)
--------babysteps.js(123B)
----README.md(2KB)