node/lib/internal
Nitzan Uziely e1ce7f1194 fs: improve fsPromises writeFile performance
Increase the write chunk size in fsPromises writeFile
to improve performance.

PR-URL: https://github.com/nodejs/node/pull/37610
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-03-13 13:40:11 +01:00
..
assert assert: refactor to avoid unsafe array iteration 2021-02-22 12:21:36 +01:00
bootstrap module: refactor NativeModule to avoid unsafe array iteration 2021-03-13 09:57:25 +01:00
child_process doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
cluster cluster: restructure to same prototype for cluster child 2021-03-05 09:49:37 -08:00
console lib: remove use of array destructuring 2021-03-03 19:53:24 +01:00
crypto crypto: add optional callback to crypto.sign and crypto.verify 2021-03-10 15:11:17 -08:00
dns lib: refactor to use validateString 2021-01-22 19:56:34 -08:00
fs fs: improve fsPromises writeFile performance 2021-03-13 13:40:11 +01:00
http2 lib: fix typo in lib/internal/http2/core.js 2021-03-13 10:02:55 +01:00
main doc: document that NODE_EXTRA_CA_CERTS is read only once 2021-03-05 07:25:56 -08:00
modules lib: remove use of array destructuring 2021-03-03 19:53:24 +01:00
per_context worker: add ports property to MessageEvents 2021-03-03 23:23:38 +01:00
perf perf_hooks: add histogram option to timerify 2021-03-05 08:16:03 -08:00
policy lib: remove use of array destructuring 2021-03-03 19:53:24 +01:00
process process: disallow adding options to process.allowedNodeEnvironmentFlags 2021-03-05 09:32:12 -08:00
readline readline: refactor to use more primordials 2020-12-04 18:34:32 +00:00
repl repl: refactor to avoid unsafe array iteration 2021-02-15 23:06:35 +01:00
source_map errors: align source-map stacks with spec 2021-02-12 14:09:35 -08:00
streams stream,util: fix "the the" typo in comments 2021-03-13 10:01:19 +01:00
test lib: expose primordials object 2021-01-18 11:43:32 +01:00
util stream,util: fix "the the" typo in comments 2021-03-13 10:01:19 +01:00
vm src: add error formatting support 2021-03-09 10:12:53 -06:00
worker worker: add ports property to MessageEvents 2021-03-03 23:23:38 +01:00
abort_controller.js events: graduate Event, EventTarget, AbortController 2020-11-23 09:33:41 -08:00
assert.js benchmark,doc,lib,test: prepare for padding lint rule 2019-11-30 06:28:29 -08:00
async_hooks.js async_hooks: set unhandledRejection async context 2021-02-13 16:49:21 +02:00
blob.js buffer: make Blob's constructor more spec-compliant 2021-02-17 14:08:28 +01:00
blocklist.js lib: refactor to use validateString 2021-01-22 19:56:34 -08:00
buffer.js buffer: add base64url encoding option 2021-01-18 12:08:20 +01:00
child_process.js lib: refactor to use validateObject 2021-01-28 12:53:50 +01:00
cli_table.js src: remove _third_party_main support 2020-06-24 15:20:59 -07:00
constants.js lib: replace charCodeAt with fixed Unicode 2020-06-19 07:46:37 -07:00
dgram.js lib: refactor to use validateFunction 2021-01-27 20:46:54 +02:00
dtrace.js lib: move DTRACE_* probes out of global scope 2019-03-12 14:19:36 +00:00
encoding.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
error_serdes.js lib: use global Error constructors from primordials 2020-10-07 13:44:19 +00:00
errors.js crypto: support JWK objects in create*Key 2021-03-10 18:50:08 +01:00
event_target.js events: change EventTarget handler exception behavior 2021-02-15 20:10:07 +02:00
fixed_queue.js lib: unnecessary const assignment for class 2020-04-24 22:53:36 +03:00
freelist.js http: remove unused hasItems() from freelist 2019-12-03 15:00:45 -08:00
freeze_intrinsics.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
heap_utils.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
histogram.js perf_hooks: add histogram option to timerify 2021-03-05 08:16:03 -08:00
http.js http: align with stream.Writable 2021-03-10 15:04:00 +01:00
idna.js lib: convert legacy process.binding to internalBinding 2019-02-18 07:21:48 +01:00
inspector_async_hook.js async_hooks: refactor to use more primordials 2020-11-20 20:10:19 +00:00
js_stream_socket.js lib: improve debuglog() performance 2020-05-30 17:24:43 -04:00
linkedlist.js
net.js net: refactor to use more primordials 2020-12-07 10:08:03 -08:00
options.js lib: refactor to use optional chaining in internal/options.js 2021-01-24 08:19:32 -08:00
priority_queue.js lib: remove unused code 2020-12-29 15:49:09 +00:00
querystring.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
readme.md doc: clarify text about internal module changes 2018-07-31 08:28:40 +03:00
repl.js lib: use Number.parseInt from primordials 2020-10-07 13:44:20 +00:00
socket_list.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
stream_base_commons.js lib: refactor to use validateCallback 2020-12-29 15:48:57 +00:00
timers.js timers: fix unsafe array iteration 2021-02-06 05:17:49 -08:00
tls.js tls: refactor to avoid unsafe array iteration 2021-01-11 12:44:41 +01:00
trace_events_async_hooks.js lib: replace charCodeAt with fixed Unicode 2020-06-19 07:46:37 -07:00
tty.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
url.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
util.js util: add internal createDeferredPromise() 2021-01-29 09:50:34 -05:00
v8_prof_polyfill.js lib: remove v8_prof_polyfill from eslint ignore list 2021-01-04 19:01:37 +00:00
v8_prof_processor.js doc,lib: prepare for stricter multi-line array linting 2021-02-19 09:55:35 -08:00
validators.js fs: fix flag and mode validation 2021-03-01 09:47:56 -08:00
watchdog.js src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
worker.js worker: fix interaction of terminate() with messaging port 2021-02-27 17:26:20 +01:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.