# Node.js **Repository Path**: zichengqu/Node.js ## Basic Information - **Project Name**: Node.js - **Description**: No description available - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-20 - **Last Updated**: 2021-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.方法跨模块使用: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/1.WorkingWithModules.js 2.事件监听: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/2.TheEventsModuleAndEventEmitterClass.js 3.读取控制台input: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/3.WorkingWithTheReadLineModule.js 4.创建/读取/重命名/追加/删除文件: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/4.WorkingWithFileSystemModule.js 5.创建/删除文件夹:https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/5.WorkingWithFileSystemModule.js 6.通过流读大文件: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/6.WorkingWithReadableAndWritableStreams.js 7.通过流读/写/压缩/解压文件: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/7.PipesAndPipeChaining.js 8.开启服务器: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/8.CreatingAHttpServerUsingTheHttpModule.js 9.在服务器上加载HTML/JSON/IMAGE等静态文件: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/9.ServingStaticFilesWithHttpAndFileSystemModule.js 10.创建package.json文件: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/10.CreateOurPackage.jsonUsingNpmInit.js 11.lodash合并数组: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/11.InstallingPackagesUsingNpm(NodePackageManager).js 12.语义版本控制: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/12.SemanticVersioning.js 13.通过express开启服务器: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/13.GettingStartedWithExpressWebFramework.js 14.通过express设置路径效果及req和res: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/14.WorkingWithExpressHttpGetRequestAndRouteParamsAndQueryStrings.js 15.通过express加载静态文件(如HTML等): https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/15.ServingStaticFilesWithExpress.js 16.通过express向浏览器发送数据: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/16.HttpPostRequestWithExpressAndBodyParserModule.js 17.通过express与JSON进行数据交换: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/17.WorkingWithJSONDataWithExpressAndTheBodyParserModule.js 18.数据格式验证: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/18.UserInputValidationWithExpressAndJOI.js 19.复杂数据格式验证: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/19.UserInputValidationWithJOIValidatingNestedObjectAndArrays.js 20.连接mysql: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/20.ConnectToMySQL.js 21.通过连接池连接mysql: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/21.MySQLConnectionPool.js 22.VSCode Hot Keys: https://github.com/ZichengQu/Node.js/blob/master/Node.js%20Beginning/VSCode%20Hot%20Keys.txt ..............................................................................................................................................