GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — draftbox/nodejs at develop · WenGuiXu/draftbox

Expand file tree

/

nodejs

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

nodejs

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
request
request
 
 
test
test
 
 
README.md
README.md
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

README.md

Outline

nodejs学习

学习的内容:

  • 网络请求
  • 单元测试
  • 文件读写
  • url解析
  • express的路由优先级

node开发环境

开发环境,依赖的基础组件:

    {
      "dependencies": {
        "@types/mocha": "^2.2.43",
        "@types/node": "^8.0.34",
        "mocha": "^4.0.1",
        "ts-node": "^3.3.0",
        "typescript": "^2.5.3"
      },
      "devDependencies": {}
    }

tsconfig的基础配置:

{
  "compilerOptions": {
    "module": "commonjs",
    "target": "es6",
    "experimentalDecorators": true,
    "allowJs": true,
    "typeRoots": [
      "./node_modules/@types"
    ],
    "sourceMap": true
  },
  "exclude": [
    "node_modules"
  ]
}

TODO

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.