Skip to content

Fs (FileSystem)

fs 文件系统 | Node.js API 文档

const fs = require('fs');

fs.writeFile('filePath','Content',errFunction => {})

Path

Http

const http = require('http')

const server = http.createServer((request,response) => {
	// server 
	response.end('hello node server');
});

server.listen(port,()=>{
	// 启动成功的回调函数
});

Model

Package

waitingresult.com