From dcd3c47cadcb3c2c68b41a5a4de5c0a157f4ac1d Mon Sep 17 00:00:00 2001 From: Pranav Date: Sat, 17 Oct 2026 04:37:42 +0530 Subject: [PATCH] docs: fix the install size badge and the coverage badge link packagephobia.com now answers every request, badges included, with a 429 bot checkpoint page, so the badge never rendered. Shields reads the unpacked size from the npm registry; with no dependencies that is the install size. The coverage badge linked to the literal text npm-coverage-url. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8c26355..4278407 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Deterministic A/B test bucketing for JavaScript. Give it an experiment name and ## Test Coverage -[![Coverage][npm-coverage-image]](npm-coverage-url) +[![Coverage][npm-coverage-image]][npm-coverage-url] [![NPM Version][npm-version-image]][npm-url] [![NPM Install Size][npm-install-size-image]][npm-install-size-url] [![NPM Downloads][npm-downloads-image]][npm-downloads-url] @@ -93,8 +93,8 @@ Other changes in 0.2.0: [npm-coverage-image]: https://codecov.io/gh/pranav2012/abtestify/graph/badge.svg?token=CHCUS36FCG [npm-coverage-url]: https://codecov.io/gh/pranav2012/abtestify -[npm-install-size-image]: https://packagephobia.com/badge?p=abtestify -[npm-install-size-url]: https://packagephobia.com/result?p=abtestify +[npm-install-size-image]: https://img.shields.io/npm/unpacked-size/abtestify?label=install%20size +[npm-install-size-url]: https://www.npmjs.com/package/abtestify?activeTab=code [npm-downloads-image]: https://badgen.net/npm/dm/abtestify [npm-downloads-url]: https://npmcharts.com/compare/abtestify?minimal=true [npm-version-image]: https://badgen.net/npm/v/abtestify