Skip to content

Commit

Permalink
deploy: b1f3e3d
Browse files Browse the repository at this point in the history
  • Loading branch information
avindra committed Oct 24, 2024
1 parent f816f9a commit efd5e3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion npmjs.com/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ const listItem = (text, href) => {
};

if (repos) {
const pkg = document.querySelector("#top h1 span").textContent;
const pkg = document.querySelector("main h2 span").textContent;

const sites = [

["Bundlephobia", `https://bundlephobia.com/package/${pkg}`],
["anvaka", `https://npm.anvaka.com/#/view/2d/${pkg}`],
["npmgraph", `https://npmgraph.js.org/?q=${pkg}`],
Expand Down

0 comments on commit efd5e3e

Please sign in to comment.