Skip to content

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
jonroig authored Aug 12, 2024
1 parent 23ded96 commit 8b4f4c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
[
{
Expand Down

0 comments on commit 8b4f4c6

Please sign in to comment.