API热搜榜单(2018.06.21-2018.07.21)
API 热度
#1 fs.readFile(path[, options], callback) 2103
#2 http.createServer([options][, requestListener]) 1558
#3 fs.writeFile(file, data[, options], callback) 1473
#4 fs.Stats 1411
#5 http.request(options[, callback]) 1331
#6 path.resolve([...paths]) 1185
#7 process.env 1176
#8 fs.readFileSync(path[, options]) 1157
#9 child_process.exec(command[, options][, callback]) 1154
#10 http.Server 1114
#11 http.ClientRequest 1092
#12 path.join([...paths]) 1081
#13 fs.existsSync(path) 1055
#14 fs.ReadStream 953
#15 __dirname 931
#16 child_process.spawn(command[, args][, options]) 927
#17 fs.stat(path[, options], callback) 882
#18 fs.createReadStream(path[, options]) 877
#19 fs.readdir(path[, options], callback) 863
#20 http.get(options[, callback]) 833
#21 fs.writeFileSync(file, data[, options]) 812
#22 http.IncomingMessage 799
#23 url.parse(urlString[, parseQueryString[, slashesDenoteHost]]) 759
#24 fs.WriteStream 745
#25 fs.createWriteStream(path[, options]) 736
#26 path.dirname(path) 715
#27 fs.readdirSync(path[, options]) 681
#28 path.basename(path[, ext]) 665
#29 EventEmitter 652
#30 stream.Readable 618
#31 fs.access(path[, mode], callback) 608
#32 Buffer.alloc(size[, fill[, encoding]]) 602
#33 fs.mkdir(path[, mode], callback) 574
#34 new assert.AssertionError(options) 565
#35 http.Agent 558
#36 fs.open(path, flags[, mode], callback) 547
#37 http.ServerResponse 534
#38 net.Socket 525
#39 require() 515
#40 process.argv 507
#41 fs.exists(path, callback) 503
#42 URL 499
#43 Buffer 480
#44 exports shortcut 471
#45 https.request(options[, callback]) 471
#46 path.extname(path) 470
#47 net.Server 469
#48 server.listen() 466
#49 stream.Writable 465
#50 Buffer.from(array) 457
#51 exports 452
#52 fs.write(fd, buffer[, offset[, length[, position]]], callback) 449
#53 server.listen() 448
#54 child_process.fork(modulePath[, args][, options]) 424
#55 net.createServer([options][, connectionListener]) 414
#56 process.cwd() 404
#57 new Agent([options]) 403
#58 fs.appendFile(path, data[, options], callback) 402
#59 child_process.execSync(command[, options]) 398
#60 response.writeHead(statusCode[, statusMessage][, headers]) 397
#61 fs.mkdirSync(path[, mode]) 391
#62 fs.unlink(path, callback) 387
#63 fs.read(fd, buffer, offset, length, position, callback) 375
#64 new Buffer(array) 366
#65 readable.pipe(destination[, options]) 365
#66 Buffer.from(string[, encoding]) 363
#67 module.exports 360
#68 stats.isDirectory() 345
#69 path.parse(path) 344
#70 response.end([data][, encoding][, callback]) 334
#71 util.promisify(original) 331
#72 buf.toString([encoding[, start[, end]]]) 326
#73 https.get(options[, callback]) 320
#74 querystring.parse(str[, sep[, eq[, options]]]) 318
#75 child_process.execFile(file[, args][, options][, callback]) 315
#76 fs.FSWatcher 314
#77 process.stdout 310
#78 new Console(stdout[, stderr][, ignoreErrors]) 300
#79 stats.isFile() 298
#80 Buffer.concat(list[, totalLength]) 291
#81 fs.statSync(path[, options]) 285
#82 process.stdin 285
#83 util.inspect(object[, options]) 277
#84 fs.rmdir(path, callback) 275
#85 path.posix 273
#86 fs.watch(filename[, options][, listener]) 270
#87 global 268
#88 fs.rename(oldPath, newPath, callback) 265
#89 path.relative(from, to) 264
#90 fs.copyFile(src, dest[, flags], callback) 263
#91 path.normalize(path) 252
#92 request.end([data[, encoding]][, callback]) 248
#93 os.EOL 248
#94 response.write(chunk[, encoding][, callback]) 242
#95 assert(value[, message]) 242
#96 net.createConnection() 240
#97 fs.unlinkSync(path) 237
#98 agent.requests 226
#99 response.setHeader(name, value) 225
#100 util.format(format[, ...args]) 224
#101 emitter.on(eventName, listener) 219
#102 request.abort() 213
#103 path.sep 212
#104 setImmediate(callback[, ...args]) 210
#105 process.exit([code]) 204
#106 emitter.emit(eventName[, ...args]) 202
#107 ChildProcess 201
#108 child_process.spawnSync(command[, args][, options]) 199
#109 crypto.createHash(algorithm[, options]) 195
#110 __filename 193
#111 util.callbackify(original) 190
#112 message.headers 187
#113 fs.openSync(path, flags[, mode]) 183
#114 querystring.stringify(obj[, sep[, eq[, options]]]) 182
#115 https.createServer([options][, requestListener]) 182
#116 options.stdio 182
#117 process.nextTick(callback[, ...args]) 182
#118 fs.write(fd, string[, position[, encoding]], callback) 181
#119 util.inherits(constructor, superConstructor) 179
#120 querystring.escape(str) 178
#121 buf.slice([start[, end]]) 176
#122 console.log([data][, ...args]) 176
#123 request.setHeader(name, value) 175
#124 setInterval(callback, delay[, ...args]) 172
#125 fs.appendFileSync(path, data[, options]) 172
#126 assert.strictEqual(actual, expected[, message]) 171
#127 url.pathname 168
#128 assert.deepEqual(actual, expected[, message]) 166
#129 Buffer.from(buffer) 163
#130 request.write(chunk[, encoding][, callback]) 160
#131 fs.accessSync(path[, mode]) 160
#132 buf.copy(target[, targetStart[, sourceStart[, sourceEnd]]]) 157
#133 Console 157
#134 fs.copyFileSync(src, dest[, flags]) 154
#135 dns.Resolver 153
#136 fs.watchFile(filename[, options], listener) 153
#137 Buffer.allocUnsafe(size) 152
#138 Hash 150
#139 fs.readSync(fd, buffer, offset, length, position) 150
#140 setTimeout(callback, delay[, ...args]) 150
#141 https.Agent 148
#142 new net.Socket([options]) 147
#143 buf.write(string[, offset[, length]][, encoding]) 147
#144 -r, --require module 145
#145 hash.digest([encoding]) 145
#146 buf.toJSON() 145
#147 new Buffer(string[, encoding]) 143
#148 request.getHeader(name) 142
#149 path.format(pathObject) 141
#150 new net.Server([options][, connectionListener]) 140
#151 net.connect() 139
#152 url.hash 139
#153 path.delimiter 139
#154 Buffer.byteLength(string[, encoding]) 137
#155 URLSearchParams 133
#156 fs.rmdirSync(path) 131
#157 subprocess.send(message[, sendHandle[, options]][, callback]) 129
#158 http.METHODS 128
#159 assert.equal(actual, expected[, message]) 128
#160 fs.renameSync(oldPath, newPath) 127
#161 v8.cachedDataVersionTag() 127
#162 child_process.execFileSync(file[, args][, options]) 126
#163 emitter.addListener(eventName, listener) 125
#164 agent.createConnection(options[, callback]) 124
#165 socket.connect() 122
#166 process.execPath 121
#167 os.networkInterfaces() 119
#168 fs.close(fd, callback) 119
#169 process.platform 119
#170 subprocess.kill([signal]) 117
#171 net.createConnection(options[, connectListener]) 116
#172 assert.deepStrictEqual(actual, expected[, message]) 116
#173 new URL(input[, base]) 116
#174 socket.write(data[, encoding][, callback]) 114
#175 writable.write(chunk[, encoding][, callback]) 113
#176 fs.fstatSync(fd[, options]) 113
#177 fs.writeSync(fd, buffer[, offset[, length[, position]]]) 112
#178 urlObject.query 110
#179 os.cpus() 110
#180 buf.fill(value[, offset[, end]][, encoding]) 109
#181 dgram.Socket 107
#182 assert.ok(value[, message]) 106
#183 crypto.createCipheriv(algorithm, key, iv[, options]) 105
#184 console.clear() 105
#185 NODE_PATH=path[:…] 104
#186 Buffer.from(arrayBuffer[, byteOffset[, length]]) 102
#187 fs.fstat(fd[, options], callback) 102
#188 url.format(urlObject) 101
#189 response.statusCode 99
#190 process.abort() 99
#191 https.Server 98
#192 os.platform() 98
#193 promiseResolve(asyncId) 97
#194 new Error(message) 97
#195 process.send(message[, sendHandle[, options]][, callback]) 96
#196 stream.Duplex 96
#197 fs.lstat(path[, options], callback) 95
#198 path.isAbsolute(path) 93
#199 url.resolve(from, to) 93
#200 buf.length 93
#201 readable.read([size]) 92
#202 process.argv0 92
#203 message.url 91
#204 url.host 90
#205 socket.end([data][, encoding]) 90
#206 readline.createInterface(options) 89
#207 zlib.Gzip 88
#208 subprocess.stdout 88
#209 stats.size 88
#210 dns.getServers() 88
#211 Cipher 87
#212 process.kill(pid[, signal]) 87
#213 clearImmediate(immediate) 85
#214 request.connection 84
#215 emitter.listenerCount(eventName) 84
#216 dns.lookup(hostname[, options], callback) 84
#217 request.socket 83
#218 path.win32 82
#219 url.search 81
#220 fs.writeSync(fd, string[, position[, encoding]]) 80
#221 fs.link(existingPath, newPath, callback) 80
#222 socket.destroy([exception]) 79
#223 request.setTimeout(timeout[, callback]) 78
#224 response.sendDate 78
#225 process.pid 78
#226 os.homedir() 77
#227 os.tmpdir() 77
#228 Worker 77
#229 process.execArgv 76
#230 console.time([label]) 76
#231 server.close([callback]) 76
#232 console.error([data][, ...args]) 76
#233 net.createConnection(port[, host][, connectListener]) 76
#234 url.format(URL[, options]) 75
#235 emitter.once(eventName, listener) 75
#236 Buffer.poolSize 75
#237 process.arch 75
#238 readline.clearLine(stream, dir) 74
#239 querystring.unescape(str) 73
#240 new Console(options) 73
#241 process.chdir(directory) 71
#242 stream.pipeline(...streams[, callback]) 71
#243 url.toJSON() 71
#244 assert.throws(block[, error][, message]) 70
#245 error.code 70
#246 Immediate 70
#247 zlib.createGzip([options]) 69
#248 server.listen(handle[, backlog][, callback]) 69
#249 options.detached 69
#250 cluster.fork([env]) 69
#251 crypto.createDecipheriv(algorithm, key, iv[, options]) 69
#252 buf.values() 68
#253 emitter.removeListener(eventName, listener) 68
#254 url.href 68
#255 process.memoryUsage() 67
#256 socket.setTimeout(timeout[, callback]) 67
#257 cipher.update(data[, inputEncoding][, outputEncoding]) 67
#258 fs.realpathSync(path[, options]) 67
#259 fs.lstatSync(path[, options]) 66
#260 buf.buffer 65
#261 writable.end([chunk][, encoding][, callback]) 65
#262 Error 65
#263 stream.Transform 65
#264 emitter.setMaxListeners(n) 65
#265 crypto.createCipher(algorithm, password[, options]) 65
#266 fsPromises.readFile(path[, options]) 65
#267 zlib.Unzip 65
#268 ERR_HTTP_HEADERS_SENT 64
#269 TypeError 63
#270 hash.update(data[, inputEncoding]) 63
#271 crypto.randomBytes(size[, callback]) 63
#272 socket.address() 62
#273 fs.closeSync(fd) 61
#274 Buffer.compare(buf1, buf2) 61
#275 new crypto.Certificate() 60
#276 url.searchParams 60
#277 socket.send(msg, [offset, length,] port [, address] [, callback]) 60
#278 stats.isBlockDevice() 60
#279 process.stderr 60
#280 server.listen() 59
#281 readStream.path 59
#282 readStream.bytesRead 59
#283 Buffer.isEncoding(encoding) 59
#284 os.arch() 59
#285 server.address() 59
#286 server.close([callback]) 58
#287 socket.connect(options[, connectListener]) 58
#288 clearInterval(timeout) 57
#289 assert.doesNotReject(block[, error][, message]) 57
#290 Buffer.isBuffer(obj) 57
#291 socket.connect(port[, host][, connectListener]) 57
#292 subprocess.stdin 57
#293 console.dir(obj[, options]) 57
#294 server.connections 57
#295 Buffer.allocUnsafeSlow(size) 57
#296 util.debuglog(section) 56
#297 buf[index] 55
#298 emitter.off(eventName, listener) 54
#299 process.exitCode 54
#300 require.cache 54
#301 require.resolve(request[, options]) 54
#302 new Buffer(size) 54
#303 server.getConnections(callback) 53
#304 fs.chmod(path, mode, callback) 53
#305 fsPromises.readdir(path[, options]) 53
#306 zlib.Gunzip 53
#307 dns.resolve(hostname[, rrtype], callback) 53
#308 buffer.constants.MAX_LENGTH 52
#309 Hmac 52
#310 buf.indexOf(value[, byteOffset][, encoding]) 52
#311 EventEmitter.listenerCount(emitter, eventName) 52
#312 url.toString() 51
#313 process.config 51
#314 socket.addMembership(multicastAddress[, multicastInterface]) 51
#315 readable.setEncoding(encoding) 50
#316 os.hostname() 50
#317 buf.readInt8(offset) 50
#318 cipher.final([outputEncoding]) 49
#319 request.url 49
#320 socket.address() 49
#321 assert.fail([message]) 49
#322 crypto.createHmac(algorithm, key[, options]) 48
#323 os.freemem() 48
#324 emitter.removeAllListeners([eventName]) 48
#325 UV_THREADPOOL_SIZE=size 48
#326 writable.cork() 48
#327 console.assert(value[, ...message]) 48
#328 http.globalAgent 48
#329 server.listening 47
#330 fs.realpath(path[, options], callback) 47
#331 buf.readDoubleBE(offset) 46
#332 EventEmitter.defaultMaxListeners 46
#333 clearTimeout(timeout) 44
#334 new Buffer(arrayBuffer[, byteOffset[, length]]) 44
#335 readable.resume() 43
#336 fs.readlink(path[, options], callback) 43
#337 agent.destroy() 42
#338 fsPromises.access(path[, mode]) 42
#339 url.hostname 42
#340 buf.readUInt8(offset) 41
#341 fsPromises.writeFile(file, data[, options]) 41
#342 error.message 41
#343 response.socket 41
#344 immediate.ref() 41
#345 dgram.createSocket(options[, callback]) 41
#346 subprocess.channel 41
#347 Certificate 40
#348 process.hrtime([time]) 40
#349 socket.setEncoding([encoding]) 40
#350 rl.question(query, callback) 39
#351 tls.createServer([options][, secureConnectionListener]) 39
#352 http.STATUS_CODES 39
#353 zlib.Deflate 39
#354 dns.lookupService(address, port, callback) 39
#355 process.version 39
#356 worker.send(message[, sendHandle][, callback]) 38
#357 socket.bind([port][, address][, callback]) 38
#358 Decipher 38
#359 --experimental-repl-await 38
#360 Certificate.exportChallenge(spkac) 38
#361 Interface 38
#362 Buffer.from(object[, offsetOrEncoding[, length]]) 38
#363 emitter.listeners(eventName) 38
#364 async_hooks.createHook(callbacks) 37
#365 server.listen([port[, host[, backlog]]][, callback]) 37
#366 assert.doesNotThrow(block[, error][, message]) 37
#367 Options 37
#368 server.setTimeout([msecs][, callback]) 37
#369 stats.isFIFO() 37
#370 subprocess.disconnect() 36
#371 buf.equals(otherBuffer) 36
#372 server.timeout 36
#373 buf.entries() 36
#374 console.debug(data[, ...args]) 36
#375 dns.resolve4(hostname[, options], callback) 36
#376 new stream.Transform([options]) 36
#377 Http2Session 36
#378 fs.mkdtemp(prefix[, options], callback) 36
#379 writeStream.bytesWritten 35
#380 Timeout 35
#381 require.main 35
#382 error.stack 35
#383 buf.swap16() 35
#384 request.aborted 35
#385 net.connect(options[, connectListener]) 34
#386 message.method 34
#387 socket.setKeepAlive([enable][, initialDelay]) 34
#388 stream.PassThrough 34
#389 resolver.cancel() 34
#390 writeStream.path 34
#391 cluster.isMaster 34
#392 process.cpuUsage([previousValue]) 34
#393 Error.captureStackTrace(targetObject[, constructorOpt]) 33
#394 decipher.update(data[, inputEncoding][, outputEncoding]) 33
#395 Domain 33
#396 response.getHeaders() 33
#397 NODE_DEBUG=module[,…] 33
#398 response.getHeader(name) 33
#399 socket.destroyed 33
#400 emitter.eventNames() 33
#401 os.userInfo([options]) 32
#402 console.info([data][, ...args]) 32
#403 fs.fsync(fd, callback) 32
#404 decipher.final([outputEncoding]) 32
#405 buf.includes(value[, byteOffset][, encoding]) 32
#406 readable.pause() 32
#407 socket.close([callback]) 32
#408 emitter.prependListener(eventName, listener) 32
#409 net.connect(port[, host][, connectListener]) 32
#410 response.finished 31
#411 fs.readFile(path[, options], callback) 31
#412 cluster.setupMaster([settings]) 31
#413 path.toNamespacedPath(path) 31
#414 buf.writeInt32BE(value, offset) 31
#415 fs.readlinkSync(path[, options]) 31
#416 fs.constants 31
#417 buf.compare(target[, targetStart[, targetEnd[, sourceStart[, sourceEnd]]]]) 31
#418 timeout.ref() 31
#419 sign.sign(privateKey[, outputFormat]) 31
#420 fsPromises.unlink(path) 30
#421 agent.sockets 30
#422 os.constants 30
#423 fsPromises.mkdir(path[, mode]) 30
#424 os.type() 30
#425 --experimental-modules 30
#426 rl.prompt([preserveCursor]) 30
#427 socket.connecting 30
#428 fs.unwatchFile(filename[, listener]) 30
#429 url.port 30
#430 crypto.createSign(algorithm[, options]) 30
#431 readable.push(chunk[, encoding]) 30
#432 vm.Module 30
#433 subprocess.stderr 30
#434 socket.remoteAddress 29
#435 response.writeContinue() 29
#436 os.uptime() 29
#437 buf.keys() 29
#438 url.protocol 29
#439 response.addTrailers(headers) 28
#440 filehandle.readFile(options) 28
#441 server.listen(options[, callback]) 28
#442 buf.writeInt8(value, offset) 28
#443 buf.writeUInt8(value, offset) 28
#444 crypto.createDecipher(algorithm, password[, options]) 28
#445 assert.ifError(value) 28
#446 stats.ino 28
#447 session.post(method[, params][, callback]) 28
#448 server.close([callback]) 28
#449 zlib.Zlib 28
#450 request.flushHeaders() 28
#451 buf.readInt16BE(offset) 28
#452 socket.bufferSize 28
#453 process.disconnect() 28
#454 process.uptime() 27
#455 assert.notEqual(actual, expected[, message]) 27
#456 os.loadavg() 27
#457 fs.truncate(path[, len], callback) 27
#458 console.table(tabularData[, properties]) 27
#459 stats.mode 27
#460 fs.chown(path, uid, gid, callback) 27
#461 url.password 26
#462 console.count([label]) 26
#463 url.origin 26
#464 writable._write(chunk, encoding, callback) 26
#465 worker.kill([signal='SIGTERM']) 26
#466 urlSearchParams.forEach(fn[, thisArg]) 25
#467 dns.setServers(servers) 25
#468 fsPromises.copyFile(src, dest[, flags]) 25
#469 fsPromises.rmdir(path) 25
#470 process.title 25
#471 socket.localAddress 25
#472 rl.close() 25
#473 fs.writeFile(file, data[, options], callback) 25
#474 fs.fchmod(fd, mode, callback) 25
#475 zlib.createDeflate([options]) 25
#476 fs.chmodSync(path, mode) 25
#477 stats.mtime 24
#478 agent.getName(options) 24
#479 buf.readInt32LE(offset) 24
#480 hmac.digest([encoding]) 24
#481 stats.dev 24
#482 assert.notDeepEqual(actual, expected[, message]) 24
#483 new Buffer(buffer) 24
#484 subprocess.stdio 24
#485 server.listening 23
#486 readable.destroy([error]) 23
#487 server.listen(path[, backlog][, callback]) 23
#488 assert.rejects(block[, error][, message]) 23
#489 buf.readUInt16BE(offset) 23
#490 Sign 23
#491 response.connection 23
#492 os.release() 23
#493 tls.connect(options[, callback]) 22
#494 process.channel 22
#495 buf.readUInt16LE(offset) 22
#496 console.dirxml(...data) 22
#497 buf.readUInt32LE(offset) 22
#498 fsPromises.open(path, flags[, mode]) 22
#499 assert(value[, message]) 22
#500 os.totalmem() 22