We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d6b72 commit b1f3e3dCopy full SHA for b1f3e3d
npmjs.com/index.js
@@ -13,8 +13,10 @@ const listItem = (text, href) => {
13
};
14
15
if (repos) {
16
- const pkg = document.querySelector("#top h1 span").textContent;
+ const pkg = document.querySelector("main h2 span").textContent;
17
+
18
const sites = [
19
20
["Bundlephobia", `https://bundlephobia.com/package/${pkg}`],
21
["anvaka", `https://npm.anvaka.com/#/view/2d/${pkg}`],
22
["npmgraph", `https://npmgraph.js.org/?q=${pkg}`],
0 commit comments