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