Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Posts about Node.js

Node.js Query Strings

May 10, 2021 20:00 0 Comment Node.js

Query String, Query String, Query String, This section introduces you to .js Query Strings., 稳定性: 3 - 稳定, The Node .js module provides tools for handling qury strings, which you

Node .js file system

May 10, 2021 20:00 0 Comment Node.js

File system, The node .js file system module is a collection that encapsulates standard POSIX file I/O operations. Use require('fs') where all methods are synchronized and asynchronous.

Node .js global object

May 10, 2021 20:00 0 Comment Node.js

The global object, The global object, The global object, In the Node .js we can access the global object directly., These objects are available in all modules, some not in the global scope

Node .js a string decoder

May 10, 2021 21:00 0 Comment Node.js

String decoder, String decoder, Class: StringDecoder, String decoder, 稳定性: 3 - 稳定, The .js the Node string decoder (string_decoder) module, require('string_decoder'), Node .js a string decoder (string_dec

Node .js domain

May 10, 2021 21:00 0 Comment Node.js

Domain, Domain, Warning: Don't ignore mistakes!, Additional content for the wrong object, Implicit binding, Explicit binding, domain.create(), Class: Domain, Domain, 稳定性: 2 - 不稳定, Node.js domain contains methods that can think of different IO operations as separate groups., If any of the events registered t

Node .js path

May 10, 2021 21:00 0 Comment Node.js

Path, Path, path.normalize(p), path.join([path1][, path2][, ...]), path.resolve([from ...], to), path.isAbsolute(path), path.relative(from, to), path.dirname(p), path.basename(p[, ext]), path.extname(p), path.sep, path.delimiter, path.parse(pathString), path.format(pathObject), path.posix, path.win32, Path, 稳定性: 3 - 稳定, The node .js path module contains a set of tools for processing and converting file paths. B, asically all repetitions are converte

Node .js a timer

May 10, 2021 21:00 0 Comment Node.js

Timer, Timer, setTimeout(callback, delay[, arg][, ...]), clearTimeout(timeoutObject), setInterval(callback, delay[, arg][, ...]), clearInterval(intervalObject), unref(), ref(), setImmediate(callback[, arg][, ...]), clearImmediate(immediateObject), Timer, 稳定性: 5 - 锁定, Node .js timer module provides a global API for calling functions at a later time period., All timer functions are global., You do

Node.js DNS

May 10, 2021 21:00 0 Comment Node.js

Dns, Dns, dns.lookup(hostname[, options], callback), dns.lookupService(address, port, callback), dns.resolve(hostname[, rrtype], callback), dns.resolve4(hostname, callback), dns.resolve6(hostname, callback), dns.resolveMx(hostname, callback), dns.resolveTxt(hostname, callback), dns.resolveSrv(hostname, callback), dns.resolveSoa(hostname, callback), dns.resolveNs(hostname, callback), dns.resolveCname(hostname, callback), dns.reverse(ip, callback), dns.getServers(), dns.setServers(servers), Error codes, Supported getaddrinfo flag, Implementation considerations, Dns, 稳定性: 3 - 稳定, This section describes the .JS modules in the Node module, which you can access by calling, require('dns'), The DNS module contains

Node .js system

May 10, 2021 21:00 0 Comment Node.js

System, System, os.networkInterfaces(), System, 稳定性: 4 - API 冻结, The node .js (OS) module provides some functions related to the basic operating system., Access, require('os'), as follows:,

Node .js debugger

May 10, 2021 21:00 0 Comment Node.js

The debugger, The debugger, Monitor-Watchers, Command Reference -Commands reference, Advanced app Advanced Usage, The debugger, 稳定性: 3 - 稳定, V8 provides powerful debugging tools that, can be accessed externally through TCP protocol., N, ode has this debugging tool

Node .js encryption

May 10, 2021 21:00 0 Comment Node.js

Encryption, Encryption, crypto.setEngine(engine[, flags]), crypto.getCiphers(), crypto.getHashes(), crypto.createCredentials(details), crypto.createHash(algorithm), Class: Hash, crypto.createHmac(algorithm, key), Class: Hmac, crypto.createCipher(algorithm, password), crypto.createCipheriv(algorithm, key, iv), Class: Cipher, crypto.createDecipher(algorithm, password), crypto.createDecipheriv(algorithm, key, iv), Class: Decipher, crypto.createSign(algorithm), Class: Sign, crypto.createVerify(algorithm), Class: Verify, crypto.createDiffieHellman(prime_length[, generator]), crypto.createDiffieHellman(prime[, prime_encoding][, generator][, generator_encoding]), Class: Diffie Hellman, crypto.getDiffieHellman(group_name), crypto.createECDH(curve_name), Class: ECDH, crypto.pbkdf2(password, salt, iterations, keylen[, digest], callback), crypto.pbkdf2Sync(password, salt, iterations, keylen[, digest]), crypto.randomBytes(size[, callback]), crypto.pseudoRandomBytes(size[, callback]), Class: Certificate, crypto.publicEncrypt(public_key, buffer), crypto.privateDecrypt(private_key, buffer), crypto. DEFAULT_ENCODING, Recent API Changes, Encryption, 稳定性: 2 - 不稳定; 正在讨论未来版本的 API 改进,会尽量减少重大变化。详见后文。, As the name implies, the Node .js encryption module allows you to use encryption, and the

Node .js module

May 10, 2021 21:00 0 Comment Node.js

Module, Module, Cycles, The core module, The file module, Load node_modules directory, The folder serves as a module, Cache, module object, Other..., Loaded from a global folder, Access to the main module, Appendix: Package management tips, Module, 稳定性: 5 - 锁定, This section describes the .js node system., Node .js a simple module loading system. I, n the Node .js system, each file can be

Node .js console

May 10, 2021 21:00 0 Comment Node.js

Console, Console, console.log([data][, ...]), console.info([data][, ...]), console.error([data][, ...]), console.warn([data][, ...]), console.dir(obj[, options]), console.time(label), console.timeEnd(label), console.trace(message[, ...]), console.assert(value[, message][, ...]), Console, 稳定性: 4 - 冻结, {Object}, Node.js s console module provides a simple debugging console., Node .js the console is to print output characters to s

Node .js process

May 10, 2021 22:00 0 Comment Node.js

Process, Process, Exit status code, Event: 'exit', Event: 'beforeExit', Event: 'uncaughtException', Signal event, process.stdout, process.stderr, process.stdin, process.argv, process.execPath, process.execArgv, process.abort(), process.chdir(directory), process.cwd(), process.env, process.exit([code]), process.exitCode, process.getgid(), process.setgid(id), process.getuid(), process.setuid(id), process.getgroups(), process.setgroups(groups), process.initgroups(user, extra_group), process.version, process.versions, process.config, process.kill(pid[, signal]), process.pid, process.title, process.arch, process.platform, process.memoryUsage(), process.nextTick(callback), process.umask([mask]), process.uptime(), process.hrtime(), process.mainModule, Process, This section describes .js process object that provides information and control about the .js Process process., process, is a global object t

Node.js TTY

May 10, 2021 22:00 0 Comment Node.js

Tty, Tty, tty.isatty(fd), tty.setRawMode(mode), Class: ReadStream, Class: WriteStream, Tty, 稳定性: 2 - 不稳定, Node.js, tty, tty.ReadStream, and, tty.WriteStream, class, in most cases, you don't have to use the module directly, and the method