From 8b4f4c654a6e2a9e71ac5ceae274e485ac53e25f Mon Sep 17 00:00:00 2001 From: Jon Roig Date: Mon, 12 Aug 2024 12:59:38 -0700 Subject: [PATCH] Documentation update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e0d4b95..88278cf 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,11 @@ getByName(); ``` js const getDetailed = async () => { const usBabyNames = await import('../lib/usBabyNames.mjs'); - const theMeaning = await usBabyNames.getDetailed('jonathan', 'M'); + const theDetails = await usBabyNames.getDetailed('jonathan', 'M'); console.log('theDetails', theDetails); }; - getDetailed(); +getDetailed(); ``` # Historical Name Data API @@ -122,7 +122,7 @@ Output for .getNameRankAndBirthsByYear("kanye") looks like: # Detailed Name Data API -.getMeaning(name, sex) returns advanced data about a given name including pronunciation, country of origin, meaning, and notes. +.getDetailed(name, sex) returns advanced data about a given name including pronunciation, country of origin, meaning, and notes. ``` js [ {