Skip to content

Commit

Permalink
feat: Fetch keywords from NPM to improve search
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Jan 1, 2024
1 parent 39adf85 commit 2b1f97d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/updateNpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ async function processPackage(pkg) {
const version = data.version;
const date = data.time[version];
const support = data.peerDependencies?.svelte ? data.peerDependencies.svelte : 'Unknown';
return { [pkg.npm]: { version, date, support } };
const keywords = data.keywords;
return { [pkg.npm]: { version, date, support, keywords } };
}

0 comments on commit 2b1f97d

Please sign in to comment.