diff --git a/doc/api/module.md b/doc/api/module.md index ac08d9af3e4f14..fba7830180e122 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -372,7 +372,7 @@ This may slow down the first load of a module graph, but subsequent loads of the graph may get a significant speedup if the contents of the modules do not change. To clean up the generated compile cache on disk, simply remove the cache directory. The cache -directory will be recreated the next time the same directory is used for for compile cache +directory will be recreated the next time the same directory is used for compile cache storage. To avoid filling up the disk with stale cache, it is recommended to use a directory under the [`os.tmpdir()`][]. If the compile cache is enabled by a call to [`module.enableCompileCache()`][] without specifying the `directory`, Node.js will use diff --git a/doc/api/util.md b/doc/api/util.md index b9e21d8da8022f..378cec3ca894c9 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2555,7 +2555,7 @@ changes: * `format` {string | Array} A text format or an Array of text formats defined in `util.inspect.colors`, or a hex color in `#RGB` or `#RRGGBB` form. -* `text` {string} The text to to be formatted. +* `text` {string} The text to be formatted. * `options` {Object} * `validateStream` {boolean} When true, `stream` is checked to see if it can handle colors. **Default:** `true`. * `stream` {Stream} A stream that will be validated if it can be colored. **Default:** `process.stdout`. diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 6fee0d8368a914..ed90ee2a45644d 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -513,7 +513,7 @@ parent or child of the current thread. If the two threads are parent-children, use the [`require('node:worker_threads').parentPort.postMessage()`][] and the [`worker.postMessage()`][] to let the threads communicate. -The example below shows the use of of `postMessageToThread`: it creates 10 nested threads, +The example below shows the use of `postMessageToThread`: it creates 10 nested threads, the last one will try to communicate with the main thread. ```mjs