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 c842b45Copy full SHA for c842b45
npmjs.com/index.js
@@ -13,7 +13,8 @@ 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
["Bundlephobia", `https://bundlephobia.com/package/${pkg}`],
20
["anvaka", `https://npm.anvaka.com/#/view/2d/${pkg}`],
0 commit comments