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