From 8ed84476658ef24dda43f3259027867dfcc840dc Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Fri, 29 Apr 2022 15:54:57 +0200 Subject: [PATCH] chore(cached-dns.lookup/README): regenerate from .USAGE.md --- @vates/cached-dns.lookup/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/@vates/cached-dns.lookup/README.md b/@vates/cached-dns.lookup/README.md index 7b177adc4..fa3244bc3 100644 --- a/@vates/cached-dns.lookup/README.md +++ b/@vates/cached-dns.lookup/README.md @@ -16,13 +16,13 @@ Installation of the [npm package](https://npmjs.org/package/@vates/cached-dns.lo ## Usage -Node does not cache queries to `dns.lookup`, which can leads application doing a lot of connections to have perf issues and to saturate Node threads pool. +Node does not cache queries to `dns.lookup`, which can lead application doing a lot of connections to have perf issues and to saturate Node threads pool. -This library attemps to mitigate these problems by providing a version of this function with a version short cache, applied on both errors and results. +This library attempts to mitigate these problems by providing a version of this function with a version short cache, applied on both errors and results. > Limitation: `verbatim: false` option is not supported. -I has exactly the same API as the native method and can be used directly: +It has exactly the same API as the native method and can be used directly: ```js import { createCachedLookup } from '@vates/cached-dns.lookup'