Shields: libraries.io dependents badge with scoped NPM packages does not work

Created on 15 Sep 2019  路  4Comments  路  Source: badges/shields

libraries.io dependents badge with scoped NPM packages does not work

I'm trying to add a badge using libraries.io dependents for a scoped package. I noticed that libraries.io encodes the scoped name into the package name, like @jwc%2Fjscad-utils, but this doesn't work with shields.io.

![Dependents](http://img.shields.io/librariesio/dependents/npm/@jwc%2Fjscad-utils

Dependents

If there is already a way to use scoped NPM packages, I wasn't able to find it in the documentation or another issue pointing to more info.

Thanks!

bug good first issue hacktoberfest service-badge

Most helpful comment

Just stumbled upon this problem right now. Will try and see if I could hack something out of it.

All 4 comments

Thanks for reporting this @johnwebbcole! If anyone is interested in fixing this bug, the solution here will probably be very similar to the ones in #3274 and #3570

@johnwebbcole Any chance you'd be interested in taking a look at this?

Just stumbled upon this problem right now. Will try and see if I could hack something out of it.

Closed via #4151

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tankerkiller125 picture tankerkiller125  路  42Comments

marceloboeira picture marceloboeira  路  35Comments

bryanveloso picture bryanveloso  路  37Comments

tony19 picture tony19  路  31Comments

tooomm picture tooomm  路  32Comments